{"id":"CVE-2022-25929","summary":"Cross-site Scripting (XSS)","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":["GHSA-g662-qq45-ppwm"],"modified":"2026-08-12T03:51:38.271492157Z","published":"2022-12-21T05:15:11.410Z","database_specific":{"cna_assigner":"snyk","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25929.json"},"references":[{"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"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25929.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25929"},{"type":"FIX","url":"https://github.com/joewalnes/smoothie/commit/8e0920d50da82f4b6e605d56f41b69fbb9606a98"},{"type":"FIX","url":"https://github.com/joewalnes/smoothie/pull/147"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/joewalnes/smoothie","events":[{"introduced":"18155960fee032ea7a7059d08e2667a612dbfd92"},{"fixed":"e9d6c5f579232d6cbacaf9eeca07e0408fd20e33"},{"fixed":"8e0920d50da82f4b6e605d56f41b69fbb9606a98"}],"database_specific":{"cpe":"cpe:2.3:a:smoothiecharts:smoothie_charts:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"1.31.0"},{"fixed":"1.36.1"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["1.31.0","1.33.0","1.36.0","1.35.0","1.34.0","1.32.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25929.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/E:P"}]}