CVE-2026-22712 ApprovedRevs allows bypassing the inline CSS sanitizer
Attackers can bypass the inline CSS sanitizer in the ApprovedRevs extension to inject malicious scripts, potentially leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-22712?
CVE-2026-22712 is a low-severity cross-site scripting vulnerability in The Wikimedia Foundation Mediawiki - ApprovedRevs Extension, published on 9 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Improper Encoding or Escaping of Output due to magic word replacement in ParserAfterTidy vulnerability in The Wikimedia Foundation Mediawiki - ApprovedRevs Extension allows Input Data Manipulation.This issue affects Mediawiki - ApprovedRevs Extension: 1.45, 1.44, 1.43, 1.39.
Weakness: CWE-116
Which versions are affected by CVE-2026-22712?
It affects 1 product.
Products include Wikiworks Approved Revs.
How do I fix CVE-2026-22712?
No fix has been published for CVE-2026-22712 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-22712 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22712 exists.
Sources
Also known as GHSA-mrvc-5w25-h6c4.