# CVE-2021-30157: An issue was discovered in MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2.

- 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.41%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-06T06:43:05.000Z
- Modified: 2026-06-17T03:49:45.827Z
- Also known as: BIT-MEDIAWIKI-2021-30157
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

An issue was discovered in MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2. On ChangesList special pages such as Special:RecentChanges and Special:Watchlist, some of the rcfilters-filter-* label messages are output in HTML unescaped, leading to XSS.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mediawiki mediawiki: before 1.31.12; from 1.32.0 before 1.35.2
- debian debian_linux: 10.0
- fedoraproject fedora: 33; 34
- mediawiki (Bitnami): before 1.31.12; from 1.32.0 before 1.35.2

## 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/T278058> (exploit, issue-tracking, patch, vendor-advisory, web)
- <https://www.debian.org/security/2021/dsa-4889> (third-party-advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/26UJGHF7LJDOCQN6A3Z4PM7PYRKENJHE/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2OMSV7B2TCFBOCICN3B4SMQP5HVRJQIT/> (vendor-advisory, web)
- <https://security.gentoo.org/glsa/202107-40> (third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-30157> (web)

## Sources

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

---

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