CVE-2026-72821 Grav Form Plugin before 9.1.15 Stored XSS via Radio Toggle

Medium 5.1 Published Updated

Attackers with form authoring permissions can inject scripts into radio/toggle labels, executing code in visitors' and administrators' browsers.

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

What is CVE-2026-72821?

CVE-2026-72821 is a medium-severity cross-site scripting vulnerability in getgrav grav, published on 14 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Grav Form plugin versions before 9.1.15 contain a stored cross-site scripting vulnerability in radio and toggle field option labels rendered with the Twig |raw filter. Attackers with form authoring permissions can inject HTML and script payloads in option labels that execute in the browsers of visitors and administrators viewing the form.

Weakness: CWE-79

Which versions are affected by CVE-2026-72821?

How do I fix CVE-2026-72821?

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

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-72821 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-72821 exists.

Sources

Also known as GHSA-3mpx-xv5p-92mv.

Is CVE-2026-72821 in your software?

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

Check your SBOMs for free