Medium
Security advisory
An issue was discovered in the GlobalUsage extension for MediaWiki through 1.35.1. SpecialGlobalUsage.php calls WikiMap::makeForeignLink unsafely. The $page variable within the formatItem function was not being properly escaped, allowing for XSS under certain conditions.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-35622
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:53 UTC · Revision 1
Source evidence
An issue was discovered in the GlobalUsage extension for MediaWiki through 1.35.1. SpecialGlobalUsage.php calls WikiMap::makeForeignLink unsafely. The $page variable within the formatItem function was not being properly escaped, allowing for XSS under certain conditions.
osv:CVE-2020-35622
Complete source record
{
"id": "3599b52bfcfbca545fd6f86e1272e7968c7cab6ca47bc5d5d6150b46f6018351",
"url": "https://osv.dev/vulnerability/CVE-2020-35622",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-35622",
"summary": "An issue was discovered in the GlobalUsage extension for MediaWiki through 1.35.1. SpecialGlobalUsage.php calls WikiMap::makeForeignLink unsafely. The $page variable within the formatItem function was not being properly escaped, allowing for XSS under certain conditions.",
"evidence": "osv:CVE-2020-35622",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-35622",
"aliases": [
"BIT-mediawiki-2020-35622",
"CVE-2020-35622"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wikimedia/mediawiki",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "3e26b5ff1468f98cf306575d125b29a6645bf2ea"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.35.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"1.35.1",
"1.35.0",
"1.35.0-rc.3",
"1.35.0-rc.2",
"1.35.0-rc.1",
"1.35.0-rc.0",
"test-hashar-for-ci",
"1.6.0",
"1.5.0beta4",
"1.5.0beta3",
"1.5.0beta2",
"1.5.0beta1",
"1.5.0alpha2",
"1.5.0alpha1",
"1.3.0beta1",
"1.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35622.json"
}
}
],
"modified": "2026-10-24T10:31:00.003245094Z",
"provider": "osv",
"references": [
"https://phabricator.wikimedia.org/T268341",
"https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GlobalUsage/+/646744"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-35622",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 439444,
"published_at": "2020-12-21T23:15:12.373+00:00"
}