CVE-2020-5256
HIGH 8.8CVSS 3.1Remote Code Execution Through Image Uploads in 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.
- Published
- 9 Mar 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-434CWE-95
- Also known as
- GHSA-g9rq-x4fj-f5hx
- Sources
- NVDJSONOSV GHSA-g9rq-x4fj-f5hxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 9.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | bookstackapp | bookstackcpe:2.3:a:bookstackapp:bookstack:*:*:*:*:*:*:*:* |
< 0.25.3 | 0.25.3 |
| OSV | Packagist | ssddanbrown/bookstack | < 0.25.5 | 0.25.5 |
References
- https://github.com/BookStackApp/BookStack/releases/tag/v0.25.3 · Release Notes, WEB
- https://github.com/BookStackApp/BookStack/releases/tag/v0.25.4 · Release Notes, WEB
- https://github.com/BookStackApp/BookStack/releases/tag/v0.25.5 · Release Notes, WEB
- https://github.com/BookStackApp/BookStack/security/advisories/GHSA-g9rq-x4fj-f5hx · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-5256 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 9 Mar 2020)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 Mar 2020)