CVE-2022-25929
MEDIUM 5.4CVSS 3.1Smoothie vulnerable to Cross-site Scripting when tooltipLabel or strokeStyle are controlled by users
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
- 21 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-g662-qq45-ppwm
- Sources
- NVDJSONOSV GHSA-g662-qq45-ppwmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | smoothiecharts | smoothie_chartscpe:2.3:a:smoothiecharts:smoothie_charts:*:*:*:*:*:node.js:*:* |
>= 1.31.0, < 1.36.1 | 1.36.1 |
| OSV | npm | smoothie | >= 1.31.0, < 1.36.1 | 1.36.1 |
References
- https://github.com/joewalnes/smoothie/commit/8e0920d50da82f4b6e605d56f41b69fbb9606a98 · Patch, Third Party Advisory, WEB
- https://github.com/joewalnes/smoothie/pull/147 · Patch, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-3177369 · Exploit, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-3177368 · Exploit, WEB
- https://security.snyk.io/vuln/SNYK-JS-SMOOTHIE-3177364 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25929 · ADVISORY
- https://github.com/joewalnes/smoothie · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 21 Dec 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Dec 2022)