OSV 1.4.0 · github-reviewed · 修改于 2026-07-03 01:51
发布时间
2026-07-03 01:51
GitHub 审查时间
2026-07-03 01:51
NVD 发布时间
—
源文件
advisories/github-reviewed/2026/07/GHSA-4h7g-5542-v3fc/GHSA-4h7g-5542-v3fc.json
Stored XSS through wikitext can be performed by inserting malicious HTML into the overlays parameter of the display_map parser function when using the leaflet service.
The maps extension doesn't escape overlay names before passing them to leaflet. Leaflet then inserts them as HTML: https://github.com/ProfessionalWiki/Maps/blob/ca5139fabd75f3c34f47ea3fd161306506b053bc/resources/lib/leaflet/leaflet.js#L5243
Preview the following wikitext, using the default configuration options of the extension:
{{#display_map:0,0|service=leaflet|overlays=OpenTopoMap.<img src=x onerror="alert(1);">}}
Stored XSS can be performed by any user with the edit permission.