{"id":"CVE-2026-85600","aliases":["CVE-2026-85600"],"related":[],"kind":"vulnerability","state":"published","title":"Grav Admin before 2.0.21 Stored XSS via username","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-04T11:30:02.813Z","modified":"2026-09-08T20:05:53.177Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.1,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.0.19","status":"affected"},{"type":"semver","version":"2.0.21","status":"unaffected"}],"vendor":"getgrav","product":"grav-plugin-admin2","source":"cvelist"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-96xm-c5hr-59rx","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/grav-admin-before-2.0.21-stored-xss-via-username","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["alham-rizvi"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-09-04T13:53:08.429Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-85600","url":"https://www.cve.org/CVERecord?id=CVE-2026-85600","licence":"CVE Terms of Use","modified":"2026-09-05T10:28:17.769Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-85600","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85600","licence":"Public domain","modified":"2026-09-08T20:05:53.177Z"}],"updatedAt":"2026-11-25T22:59:36.280Z","epss":{"score":0.00169,"percentile":0.06525,"date":"2026-12-01T12:00:22.000Z"}}