
Report and proof-of-concept for CVE-2026-96878, a stored XSS in MediaWiki Cargo's Exhibit field aliases, with validation notes and upstream fix references.
Reporter: Marco Paciaroni (BomboBombone).
Cargo's Exhibit renderer inserted field aliases into its HTML presentation without encoding them for text and attribute contexts. A page editor could persist a query whose aliases were interpreted as markup when the page was viewed.
The CVE record identifies Cargo through 3.9.4 as affected.
The reported scenario required the Exhibit format, permission to edit a page shown to other users, and a query with multiple fields. Script execution occurred in the wiki origin for visitors to that page.
The original report records browser execution from an Exhibit view on a local MediaWiki instance. An ordinary alias produced no event-bearing element.
The upstream change builds the Exhibit presentation with HTML helpers that encode alias text and attribute values in their respective contexts.
python poc.py TABLE FIELD_ONE FIELD_TWO
The script prints a Cargo Exhibit query with a harmless DOM marker. Add it only to a test page you are authorized to edit, observe the rendered Exhibit view, and remove it afterward.
The public CVE description currently labels this issue reflected XSS. The submitted report describes a query persisted in editable page content and triggered by a later page view. This report describes that stored scenario without changing the CVE record.