{"id":"GHSA-g662-qq45-ppwm","summary":"Smoothie vulnerable to Cross-site Scripting when tooltipLabel or strokeStyle are controlled by users","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.","aliases":["CVE-2022-25929"],"modified":"2023-11-08T04:08:52.442702Z","published":"2022-12-21T06:30:29Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-12-21T18:53:51Z","nvd_published_at":"2022-12-21T05:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25929"},{"type":"WEB","url":"https://github.com/joewalnes/smoothie/pull/147"},{"type":"WEB","url":"https://github.com/joewalnes/smoothie/commit/8e0920d50da82f4b6e605d56f41b69fbb9606a98"},{"type":"PACKAGE","url":"https://github.com/joewalnes/smoothie"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-3177369"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-3177368"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-SMOOTHIE-3177364"}],"affected":[{"package":{"name":"smoothie","ecosystem":"npm","purl":"pkg:npm/smoothie"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.31.0"},{"fixed":"1.36.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-g662-qq45-ppwm/GHSA-g662-qq45-ppwm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}]}