CVE-2026-77607: Semantic MediaWiki affected by Special:Ask table `sep` parameter reflected XSS

Published Sep 18, 2026
·
Updated

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 (requesttype=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.

Other sources

Semantic MediaWiki is a free, open-source extension to MediaWiki that lets users store and query data within the wiki's pages. Prior to version 7.2.0, sep was inserted verbatim into HTML cell joins. This made it possible to inject HTML through the separator value. Version 7.2.0 fixes the issue.

MITRE

Affected Software

2 affected componentsFixes available
Semantic MediaWiki Semantic MediaWiki<7.2.0
composer/mediawiki/semantic-media-wiki<=7.1.0
7.2.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/mediawiki/semantic-media-wiki to a version that resolves this vulnerability.

    Fixed in 7.2.0
  2. Upgrade

    Upgrade Semantic MediaWiki (Special:Ask) to a version that resolves this vulnerability.

    Fixed in 7.2.0
  3. Configuration

    Set/ensure the table renderer does not insert `sep` verbatim into HTML joins. Escape `sep` unless it matches a safe `<br>` variant; keep the whitelist explicit to prevent markup injection. Applies to both standard Special:Ask output and raw request output (`request_type=raw`).

    Semantic MediaWiki (Special:Ask table renderer) sep parameter (table cell join separator) = Escaped unless it is a safe <br> variant

Event History

Sep 18, 2026
Advisory Published
via GitHub·04:50 PM
Data Sourced
via GitHub·04:50 PM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·04:51 PM
Data Sourced
via MITRE·04:51 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Semantic MediaWiki versions prior to 7.2.0 are affected. The issue applies to uses of Special:Ask table output where the sep parameter can be supplied in a query.

2

What does an attacker need to exploit this issue?

An attacker needs to cause a user to interact with a Special:Ask query containing a crafted sep parameter. No attacker privileges are required, but user interaction is required.

3

What should be done if patching is not immediately possible?

The provided information identifies version 7.2.0 as the fix. No alternative mitigation is specified.

4

How can I determine whether an instance is vulnerable?

Check the installed Semantic MediaWiki version. Versions earlier than 7.2.0 should be treated as affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203