Vulnerability · Published Oct 26, 2020 · Assigned by GitHub_M
CVE-2020-15274Stored XSS via search result in Wiki.js
Medium 5.8
In plain English
A medium-severity cross-site scripting in wiki.js from Requarks. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities).
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.
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N
References
- https://github.com/Requarks/wiki/security/advisories/GHSA-pgjv-84m7-62q7 x_refsource_CONFIRM
- https://github.com/Requarks/wiki/commit/a57d9af34c15adbf460dde6553d964efddf433de x_refsource_MISC
- https://docs.requarks.io/releases x_refsource_MISC