{ "schema_version": "1.4.0", "id": "GHSA-g662-qq45-ppwm", "modified": "2022-12-21T18:53:51Z", "published": "2022-12-21T06:30:29Z", "aliases": [ "CVE-2022-25929" ], "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N" } ], "affected": [ { "package": { "ecosystem": "npm", "name": "smoothie" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "1.31.0" }, { "fixed": "1.36.1" } ] } ] } ], "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" } ], "database_specific": { "cwe_ids": [ "CWE-79" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2022-12-21T18:53:51Z", "nvd_published_at": "2022-12-21T05:15:00Z" } }