GitHub Advisory Database
GHSA-fmrf-p77g-vv5c
MediaWiki Cross-site Scripting vulnerability
Details
An issue was discovered in SiteLinksView.php in Wikibase in MediaWiki through 1.39.3. There is XSS via a crafted badge title attribute. This is also related to lack of escaping in wbTemplate (from resources/wikibase/templates.js) for quotes (which can be in a title attribute).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | wikibase/wikibase | All versions up to and including 1.39.3 |