Advisory

GHSA-3jp5-3h47-28qf

Also known as: CVE-2026-77606

Summary

Semantic MediaWiki has reflected XSS in Special:Ask plain table headers

Details

Failure mode

When headers=plain, table header text was emitted into <th> via a raw HTML path. User-controlled mainlabel content could therefore become executable HTML.

Remediation

  • TableResultPrinter now applies output-context escaping before passing plain headers to the table renderer.
  • The fix is limited to the HTML/plain-header branch so safe rendering modes are unaffected.

Why this is the right layer

The header value is not a structural token; it is display data. Sanitizing it at the sink is correct because the renderer owns the final HTML emission.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-09-18 16:40 UTC
Modified
2026-09-18 16:45 UTC

Affected packages and fixes

mediawiki/semantic-media-wiki

Packagist · All systems

Affected

  • introduced 0, fixed 7.2.0 (ecosystem)

Fixed versions

7.2.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences