CVE-2024-42758 Cross-site scripting in n/a
Attackers can inject stored XSS payloads via page editing in the DokuWiki indexmenu plugin, potentially executing scripts in victim browsers.
- 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-2024-42758?
CVE-2024-42758 is a medium-severity cross-site scripting vulnerability in n/a, published on 16 Aug 2024. 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
A Cross-site Scripting (XSS) vulnerability exists in version v2024-01-05 of the indexmenu plugin when is used and enabled in Dokuwiki (Open Source Wiki Engine). A malicious attacker can input XSS payloads for example when creating or editing existing page, to trigger the XSS on Dokuwiki, which is then stored in .txt file (due to nature of how Dokuwiki is designed), which presents stored XSS.
Weakness: CWE-79
Which versions are affected by CVE-2024-42758?
How do I fix CVE-2024-42758?
No fix has been published for CVE-2024-42758 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-2024-42758 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-42758 exists.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-c4j6-mvfp-j4wx.