Intel

AIKIDO-2026-579282

mediawiki/semantic-media-wiki is vulnerable to Cross-Site Scripting (XSS)

CVE-2026-77610Published Aug 3, 2026
August 3, 2026

61

CVE Score

Medium

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

Semantic MediaWiki assembles query debug output (format=debug, or the debug parameter on Special:Ask) in DebugFormatter and emits it as raw HTML. Several sinks apply no output-context encoding, so user-controlled query values reflected through the serialized ASK string, the generated SQL, or the EXPLAIN output are rendered without escaping. Targeting a text-typed property that ships on every install lets an anonymous request execute script in the victim's browser. The fix applies output-context escaping at the DebugFormatter boundary for entry values, SQL, and EXPLAIN strings.

How do I fix this?

Upgrade the mediawiki/semantic-media-wiki library to the patch version.

Who does this affect?

You are affected if you run an affected version and allow query debug output (format=debug, or the debug parameter on Special:Ask), which is available by default. A crafted query targeting a text-typed property that ships on every install reflects untrusted input as raw HTML; no authentication or special rights are required.

Versions

0.0.1 - 7.1.0

Fixed in 7.2.0

Background info

mediawiki/semantic-media-wiki is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 7.1.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea