CVE-2022-25069 Cross-site scripting in n/a
Attackers can execute remote code via DOM-based XSS in Mark Text by injecting crafted payloads into the paste control logic.
- 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-25069?
CVE-2022-25069 is a critical cross-site scripting vulnerability in n/a, published on 5 Mar 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
Mark Text v0.16.3 was discovered to contain a DOM-based cross-site scripting (XSS) vulnerability which allows attackers to perform remote code execution (RCE) via injecting a crafted payload into /lib/contentState/pasteCtrl.js.
Weakness: CWE-79
Which versions are affected by CVE-2022-25069?
It affects 1 product.
Products include Marktext Marktext.
How do I fix CVE-2022-25069?
No fix has been published for CVE-2022-25069 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-25069 being exploited?
There is no known exploitation of CVE-2022-25069 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-wvg5-vjpm-h792.