# CVE-2021-3915: bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type

Source: https://junglewise.ai/threats/cve-2021-3915-bookstack-is-vulnerable-to-unrestricted-upload-of-file-with  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-11-15  
License: CC BY 4.0 with a link back

CVE-2021-3915 · Severity: low · CVSS 3 · Published 2021-11-15

bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type

Technologies: [ssddanbrown/bookstack (Packagist)](https://junglewise.ai/threats/technologies/ssddanbrown-bookstack). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2021-3915 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-3915 being exploited in the wild.

**How severe is CVE-2021-3915?** Low severity, with a CVSS score of 3, published 15 November 2021.

**Which products and versions are affected?** ssddanbrown/bookstack (Packagist) ECOSYSTEM:introduced=0,fixed=21.0.3.

**Is there a fix for CVE-2021-3915?** Yes. ssddanbrown/bookstack (Packagist): upgrade to 21.0.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-3915?** Check whether you run ssddanbrown/bookstack (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- ssddanbrown/bookstack (Packagist): upgrade to 21.0.3 or later

  ```sh
  composer require ssddanbrown/bookstack:^21.0.3
  ```


## Affected products

- ssddanbrown/bookstack (Packagist) ECOSYSTEM:introduced=0,fixed=21.0.3

## Identifiers

- CVE-2021-3915
- GHSA-w2f4-hxpm-mq98

## Related threats

- [BookStack Incorrect Access Control vulnerability](https://junglewise.ai/threats/cve-2024-36676-bookstack-incorrect-access-control-vulnerability)
- [Bookstack Cross-site Scripting vulnerability](https://junglewise.ai/threats/cve-2020-26211-bookstack-cross-site-scripting-vulnerability)
- [Cross-site Scripting in BookStack](https://junglewise.ai/threats/cve-2022-0877-cross-site-scripting-in-bookstack)
- [bookstack is vulnerable to Improper Access Control](https://junglewise.ai/threats/cve-2021-4194-bookstack-is-vulnerable-to-improper-access-control)
- [BookStack is vulnerable to Improper Access Control.](https://junglewise.ai/threats/cve-2021-4119-bookstack-is-vulnerable-to-improper-access-control)
