GHSA-g662-qq45-ppwm

Suggest an improvement
Source
https://github.com/advisories/GHSA-g662-qq45-ppwm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-g662-qq45-ppwm/GHSA-g662-qq45-ppwm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-g662-qq45-ppwm
Aliases
Published
2022-12-21T06:30:29Z
Modified
2023-11-08T04:08:52.442702Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2022-12-21T05:15:00Z",
    "severity": "MODERATE",
    "github_reviewed_at": "2022-12-21T18:53:51Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

npm / smoothie

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.31.0
Fixed
1.36.1