ADVISORIES

GitHub Advisory Database

GHSA-g662-qq45-ppwm

Smoothie vulnerable to Cross-site Scripting when tooltipLabel or strokeStyle are controlled by users

Moderate CVE-2022-25929

Details

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

EcosystemPackageAffected versions
npmsmoothie
From 1.31.0 before 1.36.1 (fixed in 1.36.1)

References