# CVE-2021-42041: An issue was discovered in CentralAuth in MediaWiki through 1.36.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): 0.98%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-10-06T20:28:43.000Z
- Modified: 2026-06-17T04:09:12.437Z
- Also known as: BIT-MEDIAWIKI-2021-42041
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

An issue was discovered in CentralAuth in MediaWiki through 1.36.2. The rightsnone MediaWiki message was not being properly sanitized and allowed for the injection and execution of HTML and JavaScript via the setchange log.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mediawiki mediawiki: up to 1.36.2
- mediawiki (Bitnami): before 1.36.3

## 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/T291696> (exploit, patch, vendor-advisory, web)
- <https://gerrit.wikimedia.org/r/q/I7aeaa6e4de5ccaa5eeb6bf4fb00c96b01d5fea35> (patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-42041> (web)

## Sources

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

---

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