Intel

AIKIDO-2026-29147

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

Denial of Service (DoS)GHSA-f8vw-wvm6-h2qq Published Yesterday

75

High Risk

This Affects:

PHPmediawiki/semantic-media-wiki
3.0.0 - 7.3.0
Fixed in 7.3.1
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.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

mediawiki/semantic-media-wiki is vulnerable to Denial of Service (DoS) in versions 3.0.0 - 7.3.0.

How to fix this

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

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform