CVE-2022-48115 Cross-site Scripting in jspreadsheet
An attacker can execute arbitrary scripts in the victim's browser via the dropdown menu in the jspreadsheet library.
- 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
- Available
What is CVE-2022-48115?
CVE-2022-48115 is a medium-severity cross-site scripting vulnerability in n/a, published on 17 Feb 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
The dropdown menu in jspreadsheet before v4.6.0 was discovered to be vulnerable to cross-site scripting (XSS).
Weakness: CWE-79
Which versions are affected by CVE-2022-48115?
2 open source packages ship an affected version, including jspreadsheet-ce. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
jspreadsheet-ce npm | All versions | 4.6.0 |
jspreadsheet-ce npm | All versions | 4.6.0 |
Products include Jspreadsheet Jspreadsheet.
How do I fix CVE-2022-48115?
Upgrade jspreadsheet-ce to 4.6.0 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-48115 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-48115 exists.
Sources
Also known as GHSA-q82h-q47j-f492.