Vulnerability record · CVE-2020-5256 · published 9 March 2020
CVE-2020-5256: Bookstackapp bookstack unrestricted file upload vulnerability
Bookstackapp · Bookstack
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.
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:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| 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 | Release Notes |
| https://github.com/BookStackApp/BookStack/security/advisories/GHSA-g9rq-x4fj-f5hx | Third Party Advisory |
| 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 | Release Notes |
| https://github.com/BookStackApp/BookStack/security/advisories/GHSA-g9rq-x4fj-f5hx | Third Party Advisory |
Track CVE-2020-5256 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2020-5256), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.