CVE-2020-11055: Cross-Site Scripting in BookStack
6.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.59401%
CWE
Published
5/7/2020
Updated
1/9/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
ssddanbrown/bookstack | composer | >= 0.18.0, < 0.29.2 | 0.29.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unsanitized HTML being stored in comments. The primary entry point would be the comment creation endpoint (CommentController@store
) which processes POST data. The model layer (Comment::newFromInput
) would be responsible for persisting this data. Runtime detection would show these functions handling raw user input during exploitation. The patch likely added HTML purification in these methods and introduced output escaping in views, though view functions aren't explicitly mentioned in available data.