An issue was discovered in the UnlinkedWikibase extension in MediaWiki before 1.39.6, 1.40.x before 1.40.2, and 1.41.x before 1.41.1. 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.
2024-05-05T19:15:07.123
2025-06-11T14:44:14.040
Analyzed
CVSSv3.1: 6.1 (MEDIUM)
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | mediawiki | mediawiki | < 1.39.6 | Yes |
Application | mediawiki | mediawiki | < 1.40.2 | Yes |
Application | mediawiki | mediawiki | < 1.41.1 | Yes |
Operating System | fedoraproject | fedora | 40 | Yes |