CVE-2022-25646 Cross-site Scripting (XSS)
Attackers can inject malicious scripts into spreadsheet cells due to missing sanitization, potentially executing code in user browsers.
- 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-2022-25646?
CVE-2022-25646 is a medium-severity cross-site scripting vulnerability in x-data-spreadsheet, published on 30 Aug 2022. 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
All versions of package x-data-spreadsheet are vulnerable to Cross-site Scripting (XSS) due to missing sanitization of values inserted into the cells.
Weakness: CWE-79
Which versions are affected by CVE-2022-25646?
2 open source packages ship an affected version, including x-data-spreadsheet. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
x-data-spreadsheet npm | All versions to 1.1.9 | None |
x-data-spreadsheet npm | All versions to 1.1.9 | None |
Products include X-Data-Spreadsheet Project X-Data-Spreadsheet.
How do I fix CVE-2022-25646?
No fix has been published for CVE-2022-25646 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-25646 being exploited?
There is no known exploitation of CVE-2022-25646 in the wild and no public exploit code.
Sources
Also known as GHSA-x5cw-843f-r366.