
Proof-of-concept and patch verification notes for CVE-2026-96877, a reflected XSS in Cargo Drilldown full-text search breadcrumbs, with a Python detection script.
Reporter: Marco Paciaroni (BomboBombone).
Cargo displayed a full-text search term in its Drilldown breadcrumb without HTML escaping. Search input could therefore become executable markup in the results page.
The CVE record identifies Cargo through 3.9.4 as affected.
The issue depended on enabled full-text page indexing and a publicly queryable table whose results reached the affected display. An anonymous attacker could prepare a request that ran script when a victim opened it.
The original report records local browser execution from the breadcrumb and an ordinary control that rendered without an executable element.
The upstream change escapes the displayed full-text search term before adding it to the breadcrumb.
python poc.py https://wiki.example TABLE SEARCH_TERM
The table must use Cargo full-text page indexing, and the supplied term must match page text. The script reports whether the breadcrumb contains the unescaped harmless marker.