CVE-2025-62697 Improperly sanitized style parameter in LanguageSelector
An attacker can execute arbitrary code via improperly sanitized style parameters in the MediaWiki LanguageSelector extension.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-62697?
CVE-2025-62697 is a high-severity code injection vulnerability in The Wikimedia Foundation Mediawiki - LanguageSelector Extension, published on 20 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in The Wikimedia Foundation Mediawiki - LanguageSelector Extension allows Code Injection.This issue affects Mediawiki - LanguageSelector Extension: from master before 1.39.
Weakness: CWE-74
Which versions are affected by CVE-2025-62697?
How do I fix CVE-2025-62697?
No fix has been published for CVE-2025-62697 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-62697 being exploited?
There is no known exploitation of CVE-2025-62697 in the wild and no public exploit code.
Sources
Also known as GHSA-969r-9qjm-7hxj, UBUNTU-CVE-2025-62697.