# CVE-2021-45472: In MediaWiki through 1.37, XSS can occur in Wikibase because an external identifier property can have a URL format that includes a $1 forma…

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.00%, higher than 63% of CVEs (2026-12-02)
- Published: 2021-12-24T01:04:04.000Z
- Modified: 2026-06-17T04:13:26.143Z
- Also known as: BIT-MEDIAWIKI-2021-45472
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

In MediaWiki through 1.37, XSS can occur in Wikibase because an external identifier property can have a URL format that includes a $1 formatter substitution marker, and the javascript: URL scheme (among others) can be used.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mediawiki mediawiki: up to 1.37
- fedoraproject fedora: 35
- mediawiki (Bitnami): before 1.37.1

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://phabricator.wikimedia.org/T297570> (third-party-advisory, web)
- <https://gerrit.wikimedia.org/r/q/I37ece1dfdc80d38055067c9c4fa73ba591acd8bd> (third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z7JNQA53K675TQBBJPZRAG5ZT6XES3IS/> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-45472> (web)

## Sources

- CVE List: [CVE-2021-45472](https://www.cve.org/CVERecord?id=CVE-2021-45472), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-45472](https://nvd.nist.gov/vuln/detail/CVE-2021-45472), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MEDIAWIKI-2021-45472](https://osv.dev/vulnerability/BIT-MEDIAWIKI-2021-45472), Apache-2.0, modified 2025-04-03

---

Page: https://cve.day/CVE-2021-45472 · Whole record: https://cve.day/CVE-2021-45472.json · Rebuilt by cve.day 2026-11-25T22:58:06.155Z
