CVE-2026-24474 Dioxus Components has JavaScript injection via user-supplied IDs

Medium 5.3 Published Updated

Attackers can execute arbitrary JavaScript in Dioxus applications by supplying malicious IDs to the use_animated_open hook.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-24474?

CVE-2026-24474 is a medium-severity code injection vulnerability in DioxusLabs components, published on 23 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Dioxus Components is a shadcn-style component library for the Dioxus app framework. Prior to commit 41e4242ecb1062d04ae42a5215363c1d9fd4e23a, `use_animated_open` formats a string for `eval` with an `id` that can be user supplied. Commit 41e4242ecb1062d04ae42a5215363c1d9fd4e23a patches the issue.

Weakness: CWE-95, CWE-94

Which versions are affected by CVE-2026-24474?

How do I fix CVE-2026-24474?

No fix has been published for CVE-2026-24474 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-24474 being exploited?

There is no known exploitation of CVE-2026-24474 in the wild and no public exploit code.

Sources

Also known as GHSA-34pj-292j-xr69.

Is CVE-2026-24474 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free