CVE-2022-23395 Prototype Pollution in jquery.cookie

Medium 6.1 Published Updated

Prototype pollution in jQuery Cookie allows attackers to execute arbitrary JavaScript via DOM cross-site scripting.

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-23395?

CVE-2022-23395 is a medium-severity cross-site scripting vulnerability in n/a, published on 2 Mar 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

jQuery Cookie 1.4.1 is affected by prototype pollution, which can lead to DOM cross-site scripting (XSS).

Weakness: CWE-1321

Which versions are affected by CVE-2022-23395?

2 open source packages ship an affected version, including jquery.cookie. It affects 1 product.

PackageAffectedFixed in
jquery.cookie NuGetAll versions to 1.4.1None
jquery.cookie NuGetAll versions to 1.4.1None

Products include Jquery.cookie Project Jquery.cookie.

How do I fix CVE-2022-23395?

No fix has been published for CVE-2022-23395 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-23395 being exploited?

There is no known exploitation of CVE-2022-23395 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2022-23395, GHSA-gcx5-3p5f-f8vp.

Is CVE-2022-23395 in your software?

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

Check your SBOMs for free