CVE-2020-27620 Cross-site scripting in n/a
Stored XSS in Cosmos Skin for MediaWiki allows attackers to inject scripts via unescaped messages, potentially leading to session hijacking or malicious actions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2020-27620?
CVE-2020-27620 is a medium-severity cross-site scripting vulnerability in n/a, published on 22 Oct 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2020-27620?
It affects 1 product.
Products include Mediawiki Skin\.
How do I fix CVE-2020-27620?
No fix has been published for CVE-2020-27620 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2020-27620 being exploited?
There is no known exploitation of CVE-2020-27620 in the wild and no public exploit code.
Sources
Also known as GHSA-w94f-pc5p-284r.