Advisory

GHSA-7xv3-gf2g-498h

Also known as: CVE-2026-77607

Summary

Semantic MediaWiki affected by Special:Ask table sep parameter reflected XSS

Details

Failure mode

sep was inserted verbatim into the HTML that joins a table cell's values. This made it possible to inject HTML through the separator value. The same unsanitised table HTML is produced both for the standard Special:Ask render and for its raw request output (request_type=raw), so the injection was reachable without authentication.

Remediation

  • In all non-wiki output modes (HTML, raw request, file), sep is escaped unless it is a safe <br> variant.
  • This preserves legitimate line-break separators while blocking markup injection.

Maintenance note

If the table renderer ever gains richer separator semantics, keep the whitelist explicit. Do not expand the allowed HTML surface casually.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-09-18 16:50 UTC
Modified
2026-09-18 17:00 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