CVE-2023-3672 Cross-site Scripting (XSS) - DOM in plaidweb/webmention.js
An attacker can execute arbitrary scripts in the victim's browser via DOM-based XSS in the webmention.js library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-3672?
CVE-2023-3672 is a high-severity cross-site scripting vulnerability in plaidweb/webmention.js, published on 14 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Cross-site Scripting (XSS) - DOM in GitHub repository plaidweb/webmention.js prior to 0.5.5.
Weakness: CWE-79
Which versions are affected by CVE-2023-3672?
2 open source packages ship an affected version, including webmention.js. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
webmention.js npm | All versions | 0.5.5 |
webmention.js npm | All versions | 0.5.5 |
Products include Plaidweb Webmention.js.
How do I fix CVE-2023-3672?
Upgrade webmention.js to 0.5.5 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-2023-3672 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-3672 exists.
Sources
Also known as GHSA-r54g-4qq6-chxg.