{"id":"CVE-2021-3915","aliases":["EUVD-2021-2401","GHSA-w2f4-hxpm-mq98"],"status":"published","title":"Unrestricted Upload of File with Dangerous Type in bookstackapp/bookstack","description":"bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type","severity":{"version":"3.0","score":7.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00961,"percentile":0.61881,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-434"],"published":"2021-11-13T09:15:10Z","modified":"2026-10-20T10:54:52Z","fixes":[{"ecosystem":"Packagist","package":"ssddanbrown/bookstack","fixed_in":["21.0.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"ssddanbrown/bookstack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"21.0.3"}]}]},{"source":"osv","ecosystem":"Packagist","package":"ssddanbrown/bookstack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"21.0.3"}]}],"versions":["0.7.2","V0.7.5","v0.10.0","v0.11.0","v0.11.1","v0.11.2","v0.12.0","v0.12.1","v0.12.2","v0.13.0","v0.13.1","v0.14.0","v0.14.1","v0.14.2","v0.14.3","v0.15.0","v0.15.1","v0.15.2","v0.15.3","v0.16.0","v0.16.1","v0.16.2","v0.16.3","v0.17.0","v0.17.1","v0.17.2","v0.17.3","v0.17.4","v0.18.0","v0.18.1","v0.18.2","v0.18.3","v0.18.4","v0.18.5","v0.19.0","v0.20.0","v0.20.1","v0.20.2","v0.20.3","v0.21.0","v0.22.0","v0.23.0","v0.23.1","v0.23.2","v0.24.0","v0.24.1","v0.24.2","v0.24.3","v0.25.0","v0.25.1","v0.25.2","v0.25.3","v0.25.4","v0.25.5","v0.26.0","v0.26.1","v0.26.2","v0.26.3","v0.26.4","v0.27","v0.27.1","v0.27.2","v0.27.3","v0.27.4","v0.27.5","v0.28.0","v0.28.1","v0.28.2","v0.28.3","v0.29.0","v0.29.1","v0.29.2","v0.29.3","v0.30.0","v0.30.1","v0.30.2","v0.30.3","v0.30.4","v0.30.5","v0.30.6","v0.30.7","v0.31.0","v0.31.1","v0.31.2","v0.31.3","v0.31.4","v0.31.5","v0.31.6","v0.31.7","v0.31.8","v0.5.0","v0.6.0","v0.6.1","v0.6.2","v0.6.3","v0.7.0","v0.7.3","v0.7.4","v0.7.6","v0.8.0","v0.8.1","v0.8.2","v0.9.0","v0.9.1","v0.9.2","v0.9.3"]}],"products":[{"vendor":"bookstackapp","product":"bookstack"},{"vendor":"bookstackapp","product":"bookstackapp/bookstack"}],"references":[{"url":"https://huntr.dev/bounties/fcb65f2d-257a-46f4-bac9-f6ded5649079","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/bookstackapp/bookstack/commit/ae155d67454d6b9f6c93b2bb457aaa4b2eb1a9ed","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3915","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-w2f4-hxpm-mq98"},{"url":"https://github.com/BookStackApp/BookStack","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-3915","title":"Unrestricted Upload of File with Dangerous Type in bookstackapp/bookstack","description":"bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type","status":"published","published":"2021-11-13T09:15:10Z","modified":"2024-08-03T17:09:09.642Z","cvss":[{"version":"3.0","score":7.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:33:03.671751Z"}],"euvd":[{"id":"EUVD-2021-2401","description":"bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type","status":"published","published":"2021-11-13T09:15:10Z","modified":"2024-08-03T17:09:09Z","cvss":[{"version":"3.0","score":7.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:H","level":"high"}],"updated_at":"2026-11-03T03:25:11.376657Z"}],"ghsa":[{"id":"GHSA-w2f4-hxpm-mq98","title":"bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type","description":"bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type.","status":"published","published":"2021-11-15T23:17:37Z","modified":"2023-02-01T05:06:16Z","cvss":[{"version":"3.0","score":7.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:H","level":"high"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:36:38.281533Z"}],"nvd":[{"id":"CVE-2021-3915","description":"bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type","status":"published","published":"2021-11-13T10:15:07.927Z","modified":"2026-06-17T04:05:58.95Z","cvss":[{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"3.0","score":7.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:H","level":"high","assessor":"secondary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:P/I:N/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:07:00.984108Z"}],"osv":[{"id":"CVE-2021-3915","description":"bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type","status":"published","published":"2021-11-13T10:15:07.927Z","modified":"2026-10-20T10:54:52.904599294Z","cvss":[{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:20.843843Z"},{"id":"GHSA-w2f4-hxpm-mq98","title":"bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type","description":"bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type.","status":"published","published":"2021-11-15T23:17:37Z","modified":"2023-11-08T04:06:31.029793Z","cvss":[{"version":"3.0","score":7.6,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:H","level":"high"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T15:46:58.04805Z"}]}}
