CVE-2020-15274 Stored XSS via search result in Wiki.js
Attackers can inject malicious scripts into page titles that execute when viewed in search results, allowing session hijacking or data theft.
- 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-15274?
CVE-2020-15274 is a medium-severity cross-site scripting vulnerability in Requarks wiki.js, published on 26 Oct 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
In Wiki.js before version 2.5.162, an XSS payload can be injected in a page title and executed via the search results. While the title is properly escaped in both the navigation links and the actual page title, it is not the case in the search results. Commit a57d9af34c15adbf460dde6553d964efddf433de fixes this vulnerability (version 2.5.162) by properly escaping the text content displayed in the search results.
Weakness: CWE-79
Which versions are affected by CVE-2020-15274?
It affects 1 product.
Products include Requarks Wiki.js.
How do I fix CVE-2020-15274?
No fix has been published for CVE-2020-15274 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-15274 being exploited?
There is no known exploitation of CVE-2020-15274 in the wild and no public exploit code.
Other vulnerabilities in Requarks wiki.js
Sources
Also known as GHSA-pgjv-84m7-62q7.