CVE-2022-2932 Cross-site Scripting (XSS) - Reflected in bustle/mobiledoc-kit
Reflected Cross-Site Scripting in mobiledoc-kit allows attackers to execute arbitrary scripts in user browsers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-2932?
CVE-2022-2932 is a critical cross-site scripting vulnerability in bustle/mobiledoc-kit, published on 22 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Cross-site Scripting (XSS) - Reflected in GitHub repository bustle/mobiledoc-kit prior to 0.14.2.
Weakness: CWE-79
Which versions are affected by CVE-2022-2932?
2 open source packages ship an affected version, including mobiledoc-kit. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mobiledoc-kit npm | All versions | 0.14.2 |
mobiledoc-kit npm | All versions | 0.14.2 |
Products include Bdg Mobiledoc Kit.
How do I fix CVE-2022-2932?
Upgrade mobiledoc-kit to 0.14.2 or later.
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-2932 being exploited?
There is no known exploitation of CVE-2022-2932 in the wild and no public exploit code.
Sources
Also known as GHSA-hw2p-xqhq-3mjf.