An issue was discovered in the UnlinkedWikibase extension in MediaWiki before 1.42.0. XSS can occur through an interface message. Error messages (in the $err var) are not escaped before being passed to Html::rawElement() in the getError() function in the Hooks class.
{ "github_reviewed": true, "github_reviewed_at": "2024-12-04T22:46:01Z", "nvd_published_at": "2024-05-05T19:15:07Z", "cwe_ids": [ "CWE-79" ], "severity": "MODERATE" }