CVE-2020-5256Bookstackapp Bookstack
High 8.8
Follow: this CVE · Bookstackapp · Bookstackapp Bookstack We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 2.0% probability of exploitation in 30 days · percentile 81
- Auth required
- Yes
- Published
- Mar 9, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Bookstack.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | ssddanbrown/bookstack |
< 0.25.5 |
0.25.5 |
composer require "ssddanbrown/bookstack:^0.25.5" |
Per OSV / GitHub Advisories (GHSA-g9rq-x4fj-f5hx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bookstackapp | bookstack | < 0.25.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- github.com Release Notes
- github.com Release Notes
- github.com Third Party Advisory