Intel

AIKIDO-2026-137636

phoenix_live_view is vulnerable to Cross-Site Scripting (XSS)

CVE-2026-58228Published Oct 13, 2026
October 13, 2026

51

CVE Score

Medium

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

In phoenix_live_view, scheme validation bypass in Phoenix.LiveView.Utils leads to XSS through .link>. 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.

How do I fix this?

Upgrade the phoenix_live_view library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

1.2.2 - 1.2.6

Fixed in 1.2.7

Background info

phoenix_live_view is vulnerable to Cross-Site Scripting (XSS) in versions 1.2.2 - 1.2.6.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea