{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-25929","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.","descriptionLong":"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.","published":"2022-12-21T23:14:33.786Z","updated":"2026-10-28T02:30:51.557394910Z","reserved":"2022-02-24T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"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","rating":"medium","source":"snyk"},"metrics":[{"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","rating":"medium","source":"snyk"},{"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","rating":"medium","source":"snyk.io"},{"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","rating":"medium","source":"NVD"},{"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","rating":"medium","source":"OSV"},{"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["smoothie"],"affectedProducts":[{"vendor":"n/a","product":"smoothie","defaultStatus":null,"versions":[{"version":"1.31.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","lessThan":"1.36.1","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"smoothie","purl":"pkg:npm/smoothie","ranges":[">=1.31.0 <1.36.1"],"fixed":["1.36.1"],"advisory":"GHSA-g662-qq45-ppwm"}],"cwes":["CWE-79"],"aliases":["GHSA-g662-qq45-ppwm"],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25929.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25929","tags":["advisory"]},{"url":"https://github.com/joewalnes/smoothie","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00868,"epssPercentile":0.5944,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-25929","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25929","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-25929","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g662-qq45-ppwm","ok":true,"note":"GHSA-g662-qq45-ppwm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-25929","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}