CVE-2020-11051 XSS in Wiki.js
Stored XSS in Wiki.js Markdown editor allows attackers to execute scripts in other editors' preview panels.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2020-11051?
CVE-2020-11051 is a medium-severity cross-site scripting vulnerability in Requarks Wiki.js, published on 5 May 2020. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
In Wiki.js before 2.3.81, there is a stored XSS in the Markdown editor. An editor with write access to a page, using the Markdown editor, could inject an XSS payload into the content. If another editor (with write access as well) load the same page into the Markdown editor, the XSS payload will be executed as part of the preview panel. The rendered result does not contain the XSS payload as it is stripped by the HTML Sanitization security module. This vulnerability only impacts editors loading the malicious page in the Markdown editor. This has been patched in 2.3.81.
Weakness: CWE-79
Which versions are affected by CVE-2020-11051?
It affects 1 product.
Products include Requarks Wiki.js.
How do I fix CVE-2020-11051?
No fix has been published for CVE-2020-11051 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-11051 being exploited?
There is no known exploitation of CVE-2020-11051 in the wild and no public exploit code.
Other vulnerabilities in Requarks Wiki.js
Sources
Also known as GHSA-vj72-c9vq-qxrv.