# CVE-2021-3906: Unrestricted Upload of File with Dangerous Type in bookstackapp/bookstack

- Severity: Medium 5.4 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-10-27T21:20:10.000Z
- Modified: 2026-06-17T04:05:58.017Z
- Weaknesses: CWE-434
- Assigned by: @huntrdev

## Description

bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type

(As written by CVE List.)

## Affected

- bookstackapp bookstackapp/bookstack: from unspecified before 21.10.1
- bookstackapp bookstack: before 21.10.1

## Every score

- @huntrdev: CVSS:3.0 5.4 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://huntr.dev/bounties/f115bdf5-c06b-4627-a6fa-ba6904a43ba3> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/bookstackapp/bookstack/commit/64937ab826b56d086af9ecea532510d37520ebc8> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-3906](https://www.cve.org/CVERecord?id=CVE-2021-3906), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3906](https://nvd.nist.gov/vuln/detail/CVE-2021-3906), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3906 · Whole record: https://cve.day/CVE-2021-3906.json · Rebuilt by cve.day 2026-11-25T22:58:05.239Z
