GHSA-x95h-979x-cf3j

Suggest an improvement
Source
https://github.com/advisories/GHSA-x95h-979x-cf3j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-x95h-979x-cf3j/GHSA-x95h-979x-cf3j.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x95h-979x-cf3j
Aliases
Published
2021-10-19T20:15:30Z
Modified
2024-10-21T20:24:06.367686Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U CVSS Calculator
Summary
Policies not properly enforced in bluemonday
Details

The bluemonday sanitizer before 1.0.16 for Go, and before 0.0.8 for Python (in pybluemonday), does not properly enforce policies associated with the SELECT, STYLE, and OPTION elements.

Database specific
{
    "nvd_published_at": "2021-10-18T15:15:00Z",
    "cwe_ids": [
        "CWE-20"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-10-19T16:10:19Z"
}
References

Affected packages

PyPI / pybluemonday

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.8

Affected versions

0.*

0.0.1
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7

Go / github.com/microcosm-cc/bluemonday

Package

Name
github.com/microcosm-cc/bluemonday
View open source insights on deps.dev
Purl
pkg:golang/github.com/microcosm-cc/bluemonday

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.16