Live threats

All CVEs / Bookstackapp

CVE-2020-5256Bookstackapp Bookstack

High 8.8

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
Weakness (CWE)
CWE-95, CWE-434
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Bookstack.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
bookstackappbookstack< 0.25.3

Official sources

References

Links published by the sources. Open them with care.