Intel

AIKIDO-2026-29147

mediawiki/semantic-media-wiki is vulnerable to Denial of Service (DoS)

GHSA-f8vw-wvm6-h2qqPublished Oct 13, 2026
October 13, 2026

75

CVE Score

High

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

LegacyParser recurses into every nested <q> subquery before it applies $smwgQMaxDepth. A deeply nested query, including a long chain of explicit AND, uses CPU and memory on one request worker and can overflow the call stack. The public action=ask API accepts that query without a login. The fix checks the depth limit before each recursive call and caps recursion for stack safety.

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 are using a version that falls within the vulnerable range.

Versions

3.0.0 - 7.3.0

Fixed in 7.3.1

Background info

mediawiki/semantic-media-wiki is vulnerable to Denial of Service (DoS) in versions 3.0.0 - 7.3.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