CVE-2023-1767 Cross-site scripting in Snyk Advisor

Medium 4.3 Published Updated

Attackers can inject malicious scripts via NPM package READMEs, executing code in users' browsers on Snyk Advisor pages.

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

CVE-2023-1767 is a medium-severity cross-site scripting vulnerability in Snyk Advisor, published on 20 Apr 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 Snyk Advisor website (https://snyk.io/advisor/) was vulnerable to a stored XSS prior to 28th March 2023. A feature of Snyk Advisor is to display the contents of a scanned package's Readme on its package health page. An attacker could create a package in NPM with an associated markdown README file containing XSS-able HTML tags. Upon Snyk Advisor importing the package, the XSS would run each time an end user browsed to the package's page on Snyk Advisor.

Weakness: CWE-79

Which versions are affected by CVE-2023-1767?

It affects 1 product.

Products include Snyk Advisor.

How do I fix CVE-2023-1767?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-1767 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-66mg-wfxj-x3xv.

Is CVE-2023-1767 in your software?

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

Check your SBOMs for free