# CVE-2026-85600: Grav Admin before 2.0.21 Stored XSS via username

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-04T11:30:02.813Z
- Modified: 2026-09-08T20:05:53.177Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- getgrav grav-plugin-admin2: up to 2.0.19 (not affected: 2.0.21)

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-96xm-c5hr-59rx> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/grav-admin-before-2.0.21-stored-xss-via-username> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-85600](https://www.cve.org/CVERecord?id=CVE-2026-85600), CVE Terms of Use, modified 2026-09-05
- NVD: [CVE-2026-85600](https://nvd.nist.gov/vuln/detail/CVE-2026-85600), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-85600 · Whole record: https://cve.day/CVE-2026-85600.json · Rebuilt by cve.day 2026-11-25T22:59:36.280Z
