Medium
Security advisory
In MediaWiki through 1.37, the Special:ImportFile URI (aka FileImporter) allows XSS, as demonstrated by the clientUrl parameter.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-45474
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:44 UTC · Revision 1
Source evidence
In MediaWiki through 1.37, the Special:ImportFile URI (aka FileImporter) allows XSS, as demonstrated by the clientUrl parameter.
osv:CVE-2021-45474
Complete source record
{
"id": "267b4fe052ea8593bb52b00293651c563651f6a9918764cc3bbc898758c604e5",
"url": "https://osv.dev/vulnerability/CVE-2021-45474",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-45474",
"summary": "In MediaWiki through 1.37, the Special:ImportFile URI (aka FileImporter) allows XSS, as demonstrated by the clientUrl parameter.",
"evidence": "osv:CVE-2021-45474",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-45474",
"aliases": [
"BIT-mediawiki-2021-45474",
"CVE-2021-45474"
],
"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": "4533777d189c3844688b9ce5604e0b70692935f4"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.37"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"REL1_37",
"1.37.6",
"1.37.5",
"1.37.4",
"1.37.3",
"1.37.2",
"1.37.1",
"1.37.0",
"1.37.0-rc.2",
"1.37.0-rc.1",
"1.37.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-2021-45474.json"
}
}
],
"modified": "2026-10-24T10:30:43.747881663Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z7JNQA53K675TQBBJPZRAG5ZT6XES3IS/",
"https://gerrit.wikimedia.org/r/q/Id1c8910aeac5b452fbabeddab70360765518223e",
"https://phabricator.wikimedia.org/T296605"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "35"
},
{
"last_affected": "35"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-45474",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 435701,
"published_at": "2021-12-24T02:15:07.493+00:00"
}