CVE-2021-3874
6.5 MEDIUMbookstack is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published: 2021-10-15 · Last updated: 2026-06-17
Severity and scoring
- CVSS
- 6.5 MEDIUM
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CWE
- CWE-22
Affected products
| Vendor | Product |
|---|---|
| bookstackapp | bookstack |
Description
bookstack is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2021-3874
- [Patch]https://github.com/bookstackapp/bookstack/commit/7224fbcc89f00f2b71644e36bb1b1d96addd1d5a
- [Patch]https://huntr.dev/bounties/ac268a17-72b5-446f-a09a-9945ef58607a
- [Patch]https://github.com/bookstackapp/bookstack/commit/7224fbcc89f00f2b71644e36bb1b1d96addd1d5a
- [Patch]https://huntr.dev/bounties/ac268a17-72b5-446f-a09a-9945ef58607a
Related CVEs
Same vendor
- CVE-2021-3906 — bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type (6.5 MEDIUM)
- CVE-2021-3768 — bookstack is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (5.4 MEDIUM)
- CVE-2021-3767 — bookstack is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (5.4 MEDIUM)
- CVE-2021-3758 — bookstack is vulnerable to Server-Side Request Forgery (SSRF) (6.5 MEDIUM)
Same CWE
- CVE-2026-48777 — FileBrowser Quantum is a free, self-hosted, web-based file manager
- CVE-2026-8442 — The WP Review Slider Pro plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to and including 12.6.8 (8.1 HIGH)
- CVE-2026-49766 — Subscriber Arbitrary File Deletion in WP User Manager <= 2.9.16 versions (9.9 CRITICAL)
- CVE-2026-49061 — Unauthenticated Arbitrary File Download in WPC Product Options for WooCommerce <= 3.2.1 versions (7.5 HIGH)
- CVE-2026-40779 — Contributor Arbitrary File Deletion in Link Library <= 7.8.8 versions (7.7 HIGH)