CVE-2020-5256
CVE-2020-5256 is a high-severity vulnerability in Bookstackapp Bookstack with a CVSS 3.x base score of 7.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-434.
Key facts
- Severity: High (CVSS 3.x base score 7.9)
- CVSS v2: 9.0
- EPSS exploit prediction: 2% (78th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-434
- Affected product: Bookstackapp Bookstack
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2020-5256?
- 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.
- How severe is CVE-2020-5256?
- CVE-2020-5256 has a CVSS 3.x base score of 7.9, rated high severity. It is exploitable over network with high attack complexity, requires low privileges and user interaction. Impact on confidentiality is high, integrity high, and availability low.
- Is CVE-2020-5256 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (78th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2020-5256?
- CVE-2020-5256 affects Bookstackapp Bookstack. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2020-5256?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2020-5256 published?
- CVE-2020-5256 was published on 2020-03-09 and last updated on 2026-06-17.
References
- https://github.com/BookStackApp/BookStack/releases/tag/v0.25.3
- https://github.com/BookStackApp/BookStack/releases/tag/v0.25.4
- https://github.com/BookStackApp/BookStack/releases/tag/v0.25.5
- https://github.com/BookStackApp/BookStack/security/advisories/GHSA-g9rq-x4fj-f5hx
Affected products (1)
- cpe:2.3:a:bookstackapp:bookstack:*:*:*:*:*:*:*:*
More vulnerabilities in Bookstackapp Bookstack
- CVE-2021-4119 — Critical (CVSS 9.8): bookstack is vulnerable to Improper Access Control
- CVE-2020-26211 — High (CVSS 7.7): In BookStack before version 0.30.4, a user with permissions to edit a page could insert JavaScript code through the use…
- CVE-2020-26210 — High (CVSS 7.7): In BookStack before version 0.30.4, a user with permissions to edit a page could add an attached link which would…
- CVE-2021-3944 — Medium (CVSS 6.8): bookstack is vulnerable to Cross-Site Request Forgery (CSRF)
- CVE-2023-6199 — Medium (CVSS 6.5): Book Stack version 23.10.2 allows filtering local files on the server. This is possible because the application is…
- CVE-2021-4194 — Medium (CVSS 6.5): bookstack is vulnerable to Improper Access Control
All CVEs affecting Bookstackapp Bookstack →
Other CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities
- CVE-2026-48283 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Unrestricted Upload of File with Dangerous Type…
- CVE-2026-48276 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Unrestricted Upload of File with Dangerous Type…
- CVE-2026-57700 — Critical (CVSS 10.0): Unrestricted Upload of File with Dangerous Type vulnerability in Daan.Dev OMGF Pro allows Using Malicious Files. This…
- CVE-2025-69129 — Critical (CVSS 10.0): Unauthenticated Arbitrary File Upload in WordPress & WooCommerce Scraper Plugin, Import Data from Any Site <= 1.0.7…
- CVE-2026-40772 — Critical (CVSS 10.0): Unauthenticated Arbitrary File Upload in GeekyBot <= 1.2.2 versions.
- CVE-2026-40412 — Critical (CVSS 10.0): Unrestricted upload of file with dangerous type in Azure Orbital Spatio allows an unauthorized attacker to execute code…
Browse all CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities →