# CVE-2020-27620: The Cosmos Skin for MediaWiki through 1.35.0 has stored XSS because MediaWiki messages were not being properly escaped.

- 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.12%, higher than 66% of CVEs (2026-11-30)
- Published: 2020-10-22T03:05:10.000Z
- Modified: 2026-06-17T03:09:22.567Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

The Cosmos Skin for MediaWiki through 1.35.0 has stored XSS because MediaWiki messages were not being properly escaped. This is related to wfMessage and Html::rawElement, as demonstrated by CosmosSocialProfile::getUserGroups.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mediawiki skin:cosmos: up to 1.35.0

## 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`

## References

- <https://phabricator.wikimedia.org/T265440> (vendor-advisory)
- <https://gerrit.wikimedia.org/r/c/mediawiki/skins/Cosmos/+/634749> (vendor-advisory)
- <https://gerrit.wikimedia.org/r/c/mediawiki/skins/Cosmos/+/634752> (vendor-advisory)
- <https://gerrit.wikimedia.org/r/c/mediawiki/skins/Cosmos/+/634751> (vendor-advisory)

## Sources

- CVE List: [CVE-2020-27620](https://www.cve.org/CVERecord?id=CVE-2020-27620), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-27620](https://nvd.nist.gov/vuln/detail/CVE-2020-27620), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-27620 · Whole record: https://cve.day/CVE-2020-27620.json · Rebuilt by cve.day 2026-11-25T22:57:55.419Z
