High severity · published Mar 9, 2020
CVE-2020-5256
BookStack before version 0.25.5 has a vulnerability where a user could upload PHP files through image upload functions, which would allow them to execute code on the host system…
8.8
CVSS
2%
EPSS
No
On KEV
Description
BookStack before version 0.25.5 has a vulnerability where a user could upload PHP files through image upload functions, which would allow them to execute code on the host system remotely. They would then have the permissions of the PHP process. This most impacts scenarios where non-trusted users are given permission to upload images in any area of the application. The issue was addressed in a series of patches in versions 0.25.3, 0.25.4 and 0.25.5. Users should upgrade to at least v0.25.5 to avoid this vulnerability.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.0% · higher than 80% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BO
Bookstack · Bookstackapp
before 0.25.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-5256
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-5256
Release Notes
https://github.com/BookStackApp/BookStack/releases/tag/v0.25.3
Release Notes
https://github.com/BookStackApp/BookStack/releases/tag/v0.25.4
Release Notes
https://github.com/BookStackApp/BookStack/releases/tag/v0.25.5
Third Party Advisory
https://github.com/BookStackApp/BookStack/security/advisories/GHSA-g9rq-x4fj-f5hx
More from Bookstack
9.8
CVE-2021-4119
bookstack is vulnerable to Improper Access Control
8.8
CVE-2026-82450
BookStack before 26.05.4 Remote Code Execution via Book Cover
8.7
CVE-2026-84695
BookStack before 26.05.4 Stored XSS via Drawing Upload
8.7
CVE-2020-26211
In BookStack before version 0.30.4, a user with permissions to edit a page could insert JavaScript code through the use of `javascript:` URIs within a link or form which would…
8.7
CVE-2020-26210
In BookStack before version 0.30.4, a user with permissions to edit a page could add an attached link which would execute untrusted JavaScript code when clicked by a viewer of the…
