Vulnerability · Published Dec 21, 2022 · Assigned by snyk

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

Medium 5.4

In plain English

A medium-severity cross-site scripting in smoothie. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.9%top 41.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

The package smoothie from 1.31.0 and before 1.36.1 are vulnerable to Cross-site Scripting (XSS) due to improper user input sanitization in strokeStyle and tooltipLabel properties. Exploiting this vulnerability is possible when the user can control these properties.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmsmoothie1.36.1GHSA-g662-qq45-ppwm

Affected products (as reported)

VendorProductVersions
n/a smoothie 1.31.0 – before unspecifiedunspecified – before 1.36.1

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P

References