CVE-2022-23637 Stored Cross-Site-Scripting (XSS) in Markdown Editor
Attackers can inject malicious scripts via crafted anchor links in the markdown editor, potentially stealing user cookies and session data.
- 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-2022-23637?
CVE-2022-23637 is a medium-severity cross-site scripting vulnerability in k-box, published on 14 Feb 2022. 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
K-Box is a web-based application to manage documents, images, videos and geodata. Prior to version 0.33.1, a stored Cross-Site-Scripting (XSS) vulnerability is present in the markdown editor used by the document abstract and markdown file preview. A specifically crafted anchor link can, if clicked, execute untrusted javascript actions, like retrieving user cookies. Version 0.33.1 includes a patch that allows discarding unsafe links.
Weakness: CWE-79
Which versions are affected by CVE-2022-23637?
It affects 1 product.
Products include K-Link K-Box.
How do I fix CVE-2022-23637?
No fix has been published for CVE-2022-23637 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-2022-23637 being exploited?
There is no known exploitation of CVE-2022-23637 in the wild and no public exploit code.
Sources
Also known as GHSA-wwcw-h4mf-mvxf.