OSV 1.4.0 · unreviewed · 修改于 2026-09-04 20:31
发布时间
2026-09-04 20:31
GitHub 审查时间
—
NVD 发布时间
2026-09-04 20:17
源文件
advisories/unreviewed/2026/09/GHSA-7wfh-5xcc-cx4q/GHSA-7wfh-5xcc-cx4q.json
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.
该公告没有提供结构化的受影响软件包信息。