{"id":"CVE-2026-85600","published":"2026-09-04T11:30:02Z","modified":"2026-09-05T10:28:17Z","title":"Grav Admin before 2.0.21 Stored XSS via username","vendor":"getgrav","product":"grav-plugin-admin2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00235,"percentile":0.14692,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-96xm-c5hr-59rx","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/grav-admin-before-2.0.21-stored-xss-via-username","tags":["third-party-advisory"]}],"priority":{"score":6.7,"factors":[{"name":"EPSS percentile","points":2.94},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav-plugin-admin2","versions":["<= 2.0.19"]}],"fixedVersions":[{"vendor":"getgrav","product":"grav-plugin-admin2","versions":["2.0.21"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-04T13:53:08.429568Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-71023","exploited":false,"provenance":"source"}}