GHSA-fv3h-8x5j-pvgq

Suggest an improvement
Source
https://github.com/advisories/GHSA-fv3h-8x5j-pvgq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/04/GHSA-fv3h-8x5j-pvgq/GHSA-fv3h-8x5j-pvgq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fv3h-8x5j-pvgq
Aliases
Published
2020-04-22T20:59:50Z
Modified
2024-09-24T20:33:18.866718Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 5.1 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N CVSS Calculator
Summary
XSS in python-markdown2
Details

python-markdown2 through 2.3.8 allows XSS because element names are mishandled unless a \w+ match succeeds. For example, an attack might use elementname@ or elementname- with an onclick attribute.

References

Affected packages

PyPI / markdown2

Package

Affected ranges

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

Affected versions

1.*

1.0.1.6
1.0.1.7
1.0.1.8
1.0.1.9
1.0.1.10
1.0.1.11
1.0.1.12
1.0.1.13
1.0.1.14
1.0.1.15
1.0.1.16
1.0.1.17
1.0.1.18
1.0.1.19
1.1.0
1.1.1
1.2.0
1.3.0
1.3.1
1.4.0
1.4.1
1.4.2

2.*

2.0.0
2.0.1
2.1.0
2.2.0
2.2.1
2.2.2
2.2.3
2.3.0
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.3.6
2.3.7
2.3.8

Database specific

{
    "last_known_affected_version_range": "<= 2.3.8"
}