CVE-2020-5256 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/BookStackApp/BookStack/releases/tag/v0.25.3 | CVE | Release Notes |
| https://github.com/BookStackApp/BookStack/releases/tag/v0.25.4 | CVE | Release Notes |
| https://github.com/BookStackApp/BookStack/releases/tag/v0.25.5 | CVE | Release Notes |
| https://github.com/BookStackApp/BookStack/security/advisories/GHSA-g9rq-x4fj-f5hx | CVE | Third Party Advisory |
| https://github.com/BookStackApp/BookStack/releases/tag/v0.25.3 | [email protected] | Release Notes |
| https://github.com/BookStackApp/BookStack/releases/tag/v0.25.4 | [email protected] | Release Notes |
| https://github.com/BookStackApp/BookStack/releases/tag/v0.25.5 | [email protected] | Release Notes |
| https://github.com/BookStackApp/BookStack/security/advisories/GHSA-g9rq-x4fj-f5hx | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
| CWE-95 | Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| bookstackapp bookstack | < 0.25.3 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Mar 10, 2020 | Initial Analysis | [email protected] |