CVE-2022-25646 Cross-site Scripting (XSS)

Medium 5.4 Published Updated

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.

PackageAffectedFixed in
x-data-spreadsheet npmAll versions to 1.1.9None
x-data-spreadsheet npmAll versions to 1.1.9None

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.

Is CVE-2022-25646 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free