CVE-2020-15179 HTML Injection in ScratchSig
Attackers with edit permissions can inject scripts via the ScratchSig extension, leading to code execution and potential account takeover on MediaWiki sites.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2020-15179?
CVE-2020-15179 is a high-severity cross-site scripting vulnerability in InternationalScratchWiki wiki-scratchsig, published on 15 Sep 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The ScratchSig extension for MediaWiki before version 1.0.1 allows stored Cross-Site Scripting. Using <script> tag inside <scratchsig> tag, attackers with edit permission can execute scripts on visitors' browser. With MediaWiki JavaScript API, this can potentially lead to privilege escalation and/or account takeover. This has been patched in release 1.0.1. This has already been deployed to all Scratch Wikis. No workarounds exist other than disabling the extension completely.
Weakness: CWE-79
Which versions are affected by CVE-2020-15179?
It affects 1 product.
Products include Scratch-Wiki Scratchsig.
How do I fix CVE-2020-15179?
No fix has been published for CVE-2020-15179 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-15179 being exploited?
There is no known exploitation of CVE-2020-15179 in the wild and no public exploit code.
Sources
Also known as GHSA-gp9v-pg9f-vmp6.