CVEBrief

Home / phoenixframework / phoenix_live_view / CVE-2026-58228

CVE-2026-58228: is it exploited, and which versions of phoenixframework phoenix_live_view are affected and fixed?

CVE-2026-58228 is a cross-site scripting (XSS) vulnerability in phoenixframework phoenix_live_view. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: phoenix_live_view from 1.2.2 before 1.2.7 (CVE record by EEF). Fixed in 1.2.7 (CVE record by EEF). Severity: Medium (5.1, CVSS 4.0, from EEF).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 24, 2026, 05:26 UTC and NVD November 24, 2026, 07:08 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:09 UTC
Affected
phoenix_live_view from 1.2.2 before 1.2.7
CVE record by EEF
Fixed in
1.2.7
CVE record by EEF
Severity
Medium 5.1
CVSS 4.0 from EEF
Exploit odds (EPSS)
0.47% in 30 days
higher than 43% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-58228?

Scheme validation bypass in Phoenix.LiveView.Utils leads to XSS via <.link>

Cross-site scripting vulnerability in phoenixframework phoenix_live_view allows an attacker to bypass URL scheme validation and execute JavaScript in a victim's browser session. The Phoenix.LiveView.Utils.valid_destination!/2 and Phoenix.LiveView.Utils.valid_live_navigation_destination!/2 functions in lib/phoenix_live_view/utils.ex rely on an internal uri_scheme/1 helper that only detects a scheme when the input's first byte is an ASCII letter. Inputs beginning with an ASCII control character or space fall through to a nil-returning clause, causing the URL to be treated as a safe relative path. Standard browsers implement the WHATWG URL parser, which strips leading C0 control and space characters before parsing. As a result, an input such as " javascript:alert(1)" is passed unchanged into <.link href={...}> and, when clicked, is parsed by the browser as a javascript: URL that executes attacker-controlled script in the victim's session. Applications that render user-supplied URLs (for example profile links, redirect targets, or external references) via <.link href={...}> are affected. This issue affects phoenix_live_view: from 1.2.2 before 1.2.7.

From the CVE record by EEF, last updated November 24, 2026, 05:20 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
phoenixframeworkphoenix_live_viewfrom 1.2.2 before 1.2.71.2.7
phoenixframeworkphoenix_live_view phoenixframework/phoenix_live_viewnot stated

As the CVE record by EEF states it, last updated November 24, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2026-58228?

ScoreVersionVectorSource
Medium 5.1CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:H/SI:H/SA:NEEF

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-58228 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, July 13, 2026)
EPSS
0.47% probability of exploitation activity in the next 30 days, percentile 42.7 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Is there a workaround? (from the CVE record)

Strip leading ASCII control and space bytes (code points 0x00 through 0x20) from any untrusted URL before passing it to <.link href={...}>, or reject such inputs outright. This aligns application-level validation with the WHATWG URL parser used by browsers and prevents the scheme-detection bypass.

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
June 29, 2026
Published
July 13, 2026, 18:04 UTC
CVE record updated
November 24, 2026, 05:20 UTC by EEF
NVD
Deferred, last modified November 24, 2026, 06:17 UTC
Last checked
CVE list November 24, 2026, 05:26 UTC; NVD November 24, 2026, 07:08 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect phoenix_live_view?

Every CVE in phoenix_live_view

Questions about CVE-2026-58228

Is CVE-2026-58228 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.47% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of phoenixframework phoenix_live_view are affected by CVE-2026-58228?

phoenix_live_view from 1.2.2 before 1.2.7, per the CVE record by EEF. The tables above give every range the sources list.

Which version fixes CVE-2026-58228?

1.2.7, per the CVE record by EEF. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-58228?

Medium (5.1, CVSS 4.0, from EEF). The severity table above shows each score with its source.

Where is the official record of CVE-2026-58228?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.