CVE-2026-85600

published 4 Sep 2026 · updated 5 Sep 2026

Grav Admin before 2.0.21 Stored XSS via username

5.4MediumCVSS 5.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

Grav Admin (getgrav/grav-plugin-admin2) versions <= 2.0.19 contain a stored cross-site scripting vulnerability in the tHtml() function (src/lib/stores/i18n.svelte.ts), which substitutes untrusted parameters such as usernames into translation templates before parsing the result as markdown. Grav's server-side username validation (DataUser::isValidUsername) blocks filesystem-dangerous characters but not <, >, ", or ', allowing an attacker to register a username containing an HTML payload. When an administrator views a UI surface that renders the username through tHtml()—such as the two-factor force-disable confirmation prompt or the 'page is locked' editor notice—the payload executes in their authenticated session. Fixed in 2.0.21.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
getgrav<=2.0.19

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-85600 severity on Zeptric[![CVE-2026-85600](https://zeptric.io/badge/cve/CVE-2026-85600.svg)](https://zeptric.io/cve/CVE-2026-85600)