{"id":"CVE-2022-25929","aliases":["EUVD-2022-7626","GHSA-g662-qq45-ppwm"],"status":"published","title":"Cross-site Scripting (XSS)","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.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00868,"percentile":0.59048,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-12-21T05:15:11.41Z","modified":"2026-10-28T02:30:51Z","fixes":[{"ecosystem":"npm","package":"smoothie","fixed_in":["1.36.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"smoothie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.31.0"},{"fixed":"1.36.1"}]}]},{"source":"osv","ecosystem":"npm","package":"smoothie","ranges":[{"type":"SEMVER","events":[{"introduced":"1.31.0"},{"fixed":"1.36.1"}]}]}],"products":[{"vendor":"smoothiecharts","product":"smoothie_charts"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SMOOTHIE-3177364","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-3177368","tags":["x_transferred","Exploit","web"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-3177369","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/joewalnes/smoothie/commit/8e0920d50da82f4b6e605d56f41b69fbb9606a98","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/joewalnes/smoothie/pull/147","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25929","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-g662-qq45-ppwm"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25929.json","tags":["advisory"]},{"url":"https://github.com/joewalnes/smoothie","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-25929","title":"Cross-site Scripting (XSS)","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.","status":"published","published":"2022-12-21T23:14:33.786Z","modified":"2025-04-16T18:32:19.005Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:28.707644Z"}],"euvd":[{"id":"EUVD-2022-7626","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.","status":"published","published":"2022-12-21T23:14:33Z","modified":"2025-04-16T18:32:19Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","level":"medium"}],"updated_at":"2026-11-02T20:52:22.523469Z"}],"ghsa":[{"id":"GHSA-g662-qq45-ppwm","title":"Smoothie vulnerable to Cross-site Scripting when tooltipLabel or strokeStyle are controlled by users","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.","status":"published","published":"2022-12-21T06:30:29Z","modified":"2023-01-30T05:01:02Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:27.500048Z"}],"nvd":[{"id":"CVE-2022-25929","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.","status":"published","published":"2022-12-21T05:15:11.41Z","modified":"2026-06-17T04:34:30.357Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:34.031641Z"}],"osv":[{"id":"CVE-2022-25929","title":"Cross-site Scripting (XSS)","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.","status":"published","published":"2022-12-21T05:15:11.41Z","modified":"2026-10-28T02:30:51.55739491Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","level":"medium"}],"updated_at":"2026-11-02T15:44:24.758293Z"},{"id":"GHSA-g662-qq45-ppwm","title":"Smoothie vulnerable to Cross-site Scripting when tooltipLabel or strokeStyle are controlled by users","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.","status":"published","published":"2022-12-21T06:30:29Z","modified":"2023-11-08T04:08:52.442702Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:47.472172Z"}]}}
