{"id":"CVE-2021-3874","aliases":["EUVD-2021-27108","GHSA-wwh8-rr74-53qm"],"status":"published","title":"Path Traversal in bookstackapp/bookstack","description":"bookstack is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","severity":{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01202,"percentile":0.68441,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2021-10-15T13:40:18Z","modified":"2026-10-20T10:54:52Z","products":[{"vendor":"bookstackapp","product":"bookstack"},{"vendor":"bookstackapp","product":"bookstackapp/bookstack"}],"references":[{"url":"https://huntr.dev/bounties/ac268a17-72b5-446f-a09a-9945ef58607a","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/bookstackapp/bookstack/commit/7224fbcc89f00f2b71644e36bb1b1d96addd1d5a","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3874"},{"url":"https://github.com/advisories/GHSA-wwh8-rr74-53qm"}],"sources":{"cve":[{"id":"CVE-2021-3874","title":"Path Traversal in bookstackapp/bookstack","description":"bookstack is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","status":"published","published":"2021-10-15T13:40:18Z","modified":"2024-08-03T17:09:09.594Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:33:04.020035Z"}],"euvd":[{"id":"EUVD-2021-27108","description":"bookstack is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","status":"published","published":"2021-10-15T13:40:18Z","modified":"2024-08-03T17:09:09Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-03T03:25:11.376657Z"}],"ghsa":[{"id":"GHSA-wwh8-rr74-53qm","title":"bookstack is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path...","description":"bookstack is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","status":"published","published":"2022-05-24T19:17:43Z","modified":"2023-01-30T05:02:51Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:46:43.616467Z"}],"nvd":[{"id":"CVE-2021-3874","description":"bookstack is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","status":"published","published":"2021-10-15T14:15:07.757Z","modified":"2026-06-17T04:05:55.7Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:06:59.689345Z"}],"osv":[{"id":"CVE-2021-3874","description":"bookstack is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","status":"published","published":"2021-10-15T14:15:07.757Z","modified":"2026-10-20T10:54:52.182149375Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:20.843843Z"}]}}
