Vulnerability Database
Blog
FAQ
Docs
GHSA-5g2h-9x5v-5h3x
Suggest an improvement
Source
https://github.com/advisories/GHSA-5g2h-9x5v-5h3x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-5g2h-9x5v-5h3x/GHSA-5g2h-9x5v-5h3x.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5g2h-9x5v-5h3x
Aliases
CVE-2021-46871
GHSA-j3gg-r6gp-95q2
Published
2023-01-10T06:30:25Z
Modified
2023-11-08T04:07:27.432668Z
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
Summary
phoenix_html allows Cross-site Scripting in HEEx class attributes
Details
tag.ex in Phoenix Phoenix.HTML (aka phoenix_html) before 3.0.4 allows XSS in HEEx class attributes
References
https://nvd.nist.gov/vuln/detail/CVE-2021-46871
https://github.com/phoenixframework/phoenix_html/commit/62a0139fb716bcdce697f6221244bd81d321d620
https://github.com/advisories/GHSA-j3gg-r6gp-95q2
https://github.com/phoenixframework/phoenix_html
Affected packages
npm
/
phoenix_html
Package
Name
phoenix_html
View open source insights on deps.dev
Purl
pkg:npm/phoenix_html
Affected ranges
Type
SEMVER
Events
Introduced
0
Unknown introduced version / All previous versions are affected
Fixed
3.0.4
Hex
/
phoenix_html
Package
Name
phoenix_html
Purl
pkg:hex/phoenix_html
Affected ranges
Type
SEMVER
Events
Introduced
0
Unknown introduced version / All previous versions are affected
Fixed
3.0.4
GHSA-5g2h-9x5v-5h3x - OSV