logo

CVE-2021-46871 phoenix_html

Package

Manager: erlang
Name: phoenix_html
Vulnerable Version: >=0 <3.0.4 || >=0 <3.0.4

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00094 pctl0.27289

Details

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

Metadata

Created: 2023-01-10T06:30:25Z
Modified: 2025-04-09T19:57:45Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-5g2h-9x5v-5h3x/GHSA-5g2h-9x5v-5h3x.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-5g2h-9x5v-5h3x
Finding: F008
Auto approve: 1