CVE-2023-46998 Bootbox.js Cross Site Scripting vulnerability
Remote attackers can execute arbitrary code via crafted payloads in Bootbox.js dialog functions, requiring library upgrades.
- 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-2023-46998?
CVE-2023-46998 is a medium-severity cross-site scripting vulnerability in n/a, published on 7 Nov 2023. 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
Cross Site Scripting vulnerability in BootBox Bootbox.js v.3.2 through 6.0 allows a remote attacker to execute arbitrary code via a crafted payload to alert(), confirm(), prompt() functions.
Weakness: CWE-79
Which versions are affected by CVE-2023-46998?
2 open source packages ship an affected version, including bootbox. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
bootbox npm | From 3.2.0 to 6.0.0 | None |
bootbox npm | From 3.2.0 to 6.0.0 | None |
Products include Bootboxjs Bootbox.
How do I fix CVE-2023-46998?
No fix has been published for CVE-2023-46998 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-2023-46998 being exploited?
There is no known exploitation of CVE-2023-46998 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as DEBIAN-CVE-2023-46998, GHSA-m4ch-4m5f-2gp6, UBUNTU-CVE-2023-46998.