Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS01ZzJoLTl4NXYtNWgzeM4AAw18

phoenix_html allows Cross-site Scripting in HEEx class attributes

tag.ex in Phoenix Phoenix.HTML (aka phoenix_html) before 3.0.4 allows XSS in HEEx class attributes

Permalink: https://github.com/advisories/GHSA-5g2h-9x5v-5h3x
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS01ZzJoLTl4NXYtNWgzeM4AAw18
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 1 year ago
Updated: about 1 year ago


CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Identifiers: GHSA-5g2h-9x5v-5h3x, CVE-2021-46871
References: Repository: https://github.com/phoenixframework/phoenix_html
Blast Radius: 50.9

Affected Packages

hex:phoenix_html
Dependent packages: 293
Dependent repositories: 18,060
Downloads: 61,882,990 total
Affected Version Ranges: < 3.0.4
Fixed in: 3.0.4
All affected versions: 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.4.0, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.3.0, 2.3.1, 2.4.0, 2.5.0, 2.5.1, 2.6.0, 2.6.1, 2.6.2, 2.7.0, 2.8.0, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.10.0, 2.10.1, 2.10.2, 2.10.3, 2.10.4, 2.10.5, 2.11.0, 2.11.1, 2.11.2, 2.12.0, 2.13.0, 2.13.1, 2.13.2, 2.13.3, 2.13.4, 2.14.0, 2.14.1, 2.14.2, 2.14.3, 3.0.0, 3.0.1, 3.0.2, 3.0.3
All unaffected versions: 3.0.4, 3.1.0, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 4.0.0, 4.1.0, 4.1.1
npm:phoenix_html
Dependent packages: 11
Dependent repositories: 12,312
Downloads: 26,613 last month
Affected Version Ranges: < 3.0.4
Fixed in: 3.0.4
All affected versions: 2.10.4, 2.12.0, 2.13.2, 2.14.1, 2.14.2, 2.14.3, 3.0.0, 3.0.3
All unaffected versions: 3.0.4, 3.1.0, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 4.0.0, 4.1.0, 4.1.1