Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. smoothie
  4. ›
  5. CVE-2022-25929

CVE-2022-25929: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

December 21, 2022 (updated December 27, 2022)

The package smoothie from 1.31.0 and before 1.36.1 is 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.

References

  • github.com/advisories/GHSA-g662-qq45-ppwm
  • github.com/joewalnes/smoothie/commit/8e0920d50da82f4b6e605d56f41b69fbb9606a98
  • github.com/joewalnes/smoothie/pull/147
  • nvd.nist.gov/vuln/detail/CVE-2022-25929
  • security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-3177369
  • security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-3177368
  • security.snyk.io/vuln/SNYK-JS-SMOOTHIE-3177364

Code Behaviors & Features

Detect and mitigate CVE-2022-25929 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.31.0 before 1.36.1

Fixed versions

  • 1.36.1

Solution

Upgrade to version 1.36.1 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/smoothie/CVE-2022-25929.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:26 +0000.