Official nomination
Unexpected security footguns in Go's parsers
Go's JSON, XML and YAML parsers are surprisingly lenient: a dash struct tag with omitempty leaves the field settable, JSON matching is case-insensitive and keeps the last duplicate key, and the XML parser accepts garbage around the document. This lets an attacker set fields meant to be private, or send one body that a proxy and an authorization service read differently.
Preserved copies · The Trail of Bits Blog · Original publication ↗
Record
- Published by
- The Trail of Bits Blog
- Date
- Topic
- Other
In the archive
- Nominated for the 2025 Top 10 Web Hacking Techniques · Open this archive record
Announcement provenance and preserved copies
PortSwigger Research · Source identity checked 2026-11-18; live availability may change. Historical material does not establish that nominations or voting are open.
Official results · Preserved results (PDF)
Official nomination material
Tags
This page is the archive's own catalogue record. The research is the work of The Trail of Bits Blog, first published at the original source. Preserved copies are kept so the citation survives its host.