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).
{
"severity": "MODERATE",
"cwe_ids": [
"CWE-79"
],
"github_reviewed_at": "2023-06-30T20:25:26Z",
"github_reviewed": true,
"nvd_published_at": "2023-06-30T17:15:09Z"
}