CVE-2023-45359 Cross-site scripting in n/a
Attackers can inject malicious markup into the Vector Skin toggle button label, leading to cross-site scripting in MediaWiki installations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-45359?
CVE-2023-45359 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in the Vector Skin component for MediaWiki before 1.39.5 and 1.40.x before 1.40.1. vector-toc-toggle-button-label is not escaped, but should be, because the line param can have markup.
Weakness: CWE-116
Which versions are affected by CVE-2023-45359?
How do I fix CVE-2023-45359?
Upgrade to a fixed version.
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-2023-45359 being exploited?
There is no known exploitation of CVE-2023-45359 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2023-45359, GHSA-8w2v-m598-22q3, UBUNTU-CVE-2023-45359.