GHSA-m52x-29pq-w3vv

Suggest an improvement
Source
https://github.com/advisories/GHSA-m52x-29pq-w3vv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/11/GHSA-m52x-29pq-w3vv/GHSA-m52x-29pq-w3vv.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-m52x-29pq-w3vv
Aliases
Related
Published
2019-11-22T18:18:03Z
Modified
2023-11-08T04:01:20.662980Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:L/A:N CVSS Calculator
Summary
Pannellum Cross-Site Scripting due to data not being sanitized for URIs or vbscript
Details

Versions of pannellum prior to 2.5.6 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize URLs for data URIs, which may allow attackers to execute arbitrary code in a victim's browser.

Recommendation

Upgrade to version 2.5.6 or later.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2020-06-16T21:44:55Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE"
}
References

Affected packages

npm / pannellum

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.5.0
Fixed
2.5.5