PT-2020-16340 · Bookstack · Bookstack
Yassine Aboukir
·
Published
2020-11-03
·
Updated
2020-11-16
·
CVE-2020-26210
CVSS v3.1
8.7
High
| Vector | AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
BookStack versions prior to 0.30.4
Description
The issue allows a user with page edit permissions to add an attached link that executes untrusted JavaScript code when clicked by a viewer. This could lead to the execution of malicious code. Dangerous content may remain in the database even after updating.
Recommendations
For versions prior to 0.30.4, upgrade to version 0.30.4 to fix the issue. As a temporary workaround, consider limiting page edit permissions to only trusted users, although this will not address existing exploitation of the issue. If you suspect exploitation, use the provided SQL query to test for dangerous content in the database.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Bookstack