CVE-2025-32956 ManageWiki has SQL injection vulnerability in NamespaceMigrationJob

High 8.0 Published Updated

Attackers can inject SQL commands via namespace renaming in ManageWiki, potentially reading or modifying database content.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-32956?

CVE-2025-32956 is a high-severity SQL injection vulnerability in miraheze ManageWiki, published on 21 Apr 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

ManageWiki is a MediaWiki extension allowing users to manage wikis. Versions before commit f504ed8, are vulnerable to SQL injection when renaming a namespace in Special:ManageWiki/namespaces when using a page prefix (namespace name, which is the current namespace you are renaming) with an injection payload. This issue has been patched in commit f504ed8. A workaround for this vulnerability involves setting `$wgManageWiki['namespaces'] = false;`.

Weakness: CWE-89

Which versions are affected by CVE-2025-32956?

It affects 1 product.

Products include Miraheze Managewiki.

How do I fix CVE-2025-32956?

No fix has been published for CVE-2025-32956 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-32956 being exploited?

There is no known exploitation of CVE-2025-32956 in the wild and no public exploit code.

Sources

Also known as GHSA-gg42-cv66-f5x7.

Is CVE-2025-32956 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free