Vulnerability · Published May 7, 2020 · Assigned by GitHub_M
CVE-2020-11055Cross-site Scripting in BookStack
Medium 6.3
In plain English
A medium-severity cross-site scripting in BookStack from BookStackApp. 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). Fixed versions are available - upgrade the affected package.
Official description
In BookStack greater than or equal to 0.18.0 and less than 0.29.2, there is an XSS vulnerability in comment creation. A user with permission to create comments could POST HTML directly to the system to be saved in a comment, which would then be executed/displayed to others users viewing the comment. Through this vulnerability custom JavaScript code could be injected and therefore ran on other user machines. This most impacts scenarios where not-trusted users are given permission to create comments. This has been fixed in 0.29.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | ssddanbrown/bookstack | 0.29.2 | GHSA-5vf7-q87h-pg6w |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| BookStackApp | BookStack | >= 0.18.0, < 0.29.2 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
References
- https://github.com/BookStackApp/BookStack/security/advisories/GHSA-5vf7-q87h-pg6w x_refsource_CONFIRM
- https://bookstackapp.com/blog/beta-release-v0-29-2/ x_refsource_MISC
- https://github.com/BookStackApp/BookStack/releases/tag/v0.29.2 x_refsource_MISC
- JVN#41035278 third-party-advisory, x_refsource_JVN