Invalid namespaces in SVG files in MediaWiki
Multiple products
At a glance
includes/upload/UploadBase.php in MediaWiki before 1.19.12, 1.20.x and 1.21.x before 1.21.6, and 1.22.x before 1.22.3 does not prevent use of invalid namespaces in SVG files, which allows remote attackers to conduct cross-site scripting (XSS) attacks via an SVG upload, as demonstrated by use of a W3C XHTML namespace in conjunction with an IFRAME element.
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 2.441%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:mediawiki | mediawiki | Affected versions:≤ 1.19.11Show full version range for mediawiki1.1.01.10.01.10.11.10.21.10.31.10.41.111.11.01.11.11.11.21.12.01.12.11.12.21.12.31.12.41.13.01.13.11.13.21.13.31.13.41.14.01.14.11.15.01.15.11.15.21.15.31.15.41.15.51.16.01.16.11.16.21.171.17.01.17.11.17.21.17.31.17.41.181.18.01.18.11.18.21.18.31.191.19.01.19.11.19.101.19.21.19.31.19.41.19.51.19.61.19.71.19.81.19.91.201.20.11.20.21.20.31.20.41.20.51.20.61.20.71.20.81.211.21.11.21.21.21.31.21.41.21.51.22.01.22.11.22.2 |
| Vendor:Debian | mediawikiEnvironments (4)
| Affected versions: < 1:1.19.12+dfsg-1 |
| Vendor:Debian | mediawiki-classesEnvironments (4)
| Affected versions: < 1:1.19.12+dfsg-1 |
1–3 of 3 · Page 1 of 1
CVSS scores and metrics2
[email protected] · NVD (Primary)Primary4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:N/I:P/A:Nnvd · Wazuh CTI (cna)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:N/I:P/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences