CVE-2026-11982 Stored XSS via missing XSS safety check in Admin2 Pages API partial validation

Medium 5.1 Published Updated

Attackers can inject malicious scripts via the Admin2 Pages API, leading to stored XSS in Grav CMS.

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-11982?

CVE-2026-11982 is a medium-severity cross-site scripting vulnerability in grav-plugin-api, published on 18 Jun 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 2.0.0-rc.9 with Admin2 2.0.0-rc.14 contains a stored cross-site scripting (XSS) vulnerability in the Admin2 Pages API save flow.

Weakness: CWE-79

Which versions are affected by CVE-2026-11982?

How do I fix CVE-2026-11982?

No fix has been published for CVE-2026-11982 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-11982 being exploited?

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

Sources

Also known as GHSA-5wc5-7v9g-f7v6, GHSA-pfvx-ccc8-f3hr.

Is CVE-2026-11982 in your software?

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

Check your SBOMs for free