Security mailing lists by PureSourceCode

CVE-2020-5256

HIGH 8.8CVSS 3.1

Remote 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD bookstackapp bookstack
cpe:2.3:a:bookstackapp:bookstack:*:*:*:*:*:*:*:*
< 0.25.3 0.25.3
OSV Packagist ssddanbrown/bookstack < 0.25.5 0.25.5

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.