# CVE-2024-39899: PrivateBin allows shortening of URLs for other domains

Source: https://junglewise.ai/threats/cve-2024-39899-privatebin-allows-shortening-of-urls-for-other-domains  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-07-10  
License: CC BY 4.0 with a link back

CVE-2024-39899 · Severity: low · CVSS 3.1 · Published 2024-07-10

PrivateBin allows shortening of URLs for other domains

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

## Quick answers

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

**How severe is CVE-2024-39899?** Low severity, with a CVSS score of 3.1, published 10 July 2024.

**Which products and versions are affected?** privatebin/privatebin (Packagist) ECOSYSTEM:introduced=1.5.0,fixed=1.7.4.

**Is there a fix for CVE-2024-39899?** Yes. privatebin/privatebin (Packagist): upgrade to 1.7.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-39899?** Check whether you run privatebin/privatebin (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

- privatebin/privatebin (Packagist): upgrade to 1.7.4 or later

  ```sh
  composer require privatebin/privatebin:^1.7.4
  ```


## Affected products

- privatebin/privatebin (Packagist) ECOSYSTEM:introduced=1.5.0,fixed=1.7.4

## Identifiers

- CVE-2024-39899
- GHSA-mqqj-fx8h-437j

## Related threats

- [PrivateBin reflected JSON injection in jsonld endpoints](https://junglewise.ai/threats/cve-2026-55891-privatebin-reflected-json-injection-in-jsonld-endpoints)
- [PrivateBin stored XSS in attachment download link](https://junglewise.ai/threats/cve-2026-55696-privatebin-stored-xss-in-attachment-download-link)
- [PrivateBin's template-switching feature allows arbitrary local file inclusion through path traversal](https://junglewise.ai/threats/cve-2025-64714-privatebin-s-template-switching-feature-allows-arbitrary-local)
- [PrivateBin vulnerable to malicious filename use for self-XSS / HTML injection locally for users](https://junglewise.ai/threats/cve-2025-64711-privatebin-vulnerable-to-malicious-filename-use-for-self-xss-html)
- [PrivateBin is missing HTML sanitization of attached filename in file size hint](https://junglewise.ai/threats/cve-2025-62796-privatebin-is-missing-html-sanitization-of-attached-filename-in)
