# CVE-2021-42042: An issue was discovered in SpecialEditGrowthConfig in the GrowthExperiments extension in MediaWiki through 1.36.2.

- Severity: Medium 4.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/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.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2021-10-06T20:28:33.000Z
- Modified: 2026-06-17T04:09:12.547Z
- Also known as: BIT-MEDIAWIKI-2021-42042
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

An issue was discovered in SpecialEditGrowthConfig in the GrowthExperiments extension in MediaWiki through 1.36.2. The growthexperiments-edit-config-error-invalid-title MediaWiki message was not being properly sanitized and allowed for the injection and execution of HTML and JavaScript.

(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 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://phabricator.wikimedia.org/T290692> (issue-tracking, patch, vendor-advisory, web)
- <https://gerrit.wikimedia.org/r/q/Ibeb13d032ca044af53f6b2334e27b6b97b6f4e9f> (patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-42042> (web)

## Sources

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

---

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