CVE-2026-85599 Grav Shortcode Core before 6.2.5 Stored XSS via unescaped parameters

Medium 5.1 Published Updated

Attackers with page-edit access can inject malicious scripts via unescaped parameters in Grav Shortcode Core, executing code in visitors' 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-85599?

CVE-2026-85599 is a medium-severity cross-site scripting vulnerability in getgrav grav-plugin-shortcode-core, published on 4 Sep 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 Shortcode Core before 6.2.5 contains stored cross-site scripting vulnerabilities in the [lorem] tag parameter and [details] summary parameter that are written to rendered pages without escaping. Attackers with page-edit access can inject arbitrary HTML and JavaScript that executes in the browsers of all page visitors, including administrators.

Weakness: CWE-79

Which versions are affected by CVE-2026-85599?

How do I fix CVE-2026-85599?

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

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

Sources

Also known as GHSA-5xgg-wmqq-qr2g.

Is CVE-2026-85599 in your software?

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

Check your SBOMs for free