CVE-2022-38639 Markdown-Nice v1.8.22 vulnerable to Cross-site Scripting
Attackers can execute arbitrary scripts via XSS in Markdown-Nice, requiring users to upgrade the npm package.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-38639?
CVE-2022-38639 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Sep 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A cross-site scripting (XSS) vulnerability in Markdown-Nice v1.8.22 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the Community Posting field.
Weakness: CWE-79
Which versions are affected by CVE-2022-38639?
2 open source packages ship an affected version, including markdown-nice. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
markdown-nice npm | All versions to 1.8.22 | None |
markdown-nice npm | All versions to 1.8.22 | None |
Products include Inkdrop Markdown Nice.
How do I fix CVE-2022-38639?
No fix has been published for CVE-2022-38639 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-38639 being exploited?
There is no known exploitation of CVE-2022-38639 in the wild and no public exploit code.
Sources
Also known as GHSA-462r-wxvm-jvxh.