What’s Vulnerable › Vulnerabilities
CVE-2024-39899: PrivateBin allows shortening of URLs for other domains
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-09 · updated 2026-06-17
- Weakness: CWE-305
Description
PrivateBin is an online pastebin where the server has zero knowledge of pasted data. In v1.5, PrivateBin introduced the YOURLS server-side proxy. The idea was to allow using the YOURLs URL shortener without running the YOURLs instance without authentication and/or exposing the authentication token to the public, allowing anyone to shorten any URL. With the proxy mechanism, anyone can shorten any URL pointing to the configured PrivateBin instance. The vulnerability allowed other URLs to be shortened, as long as they contain the PrivateBin instance, defeating the limit imposed by the proxy. This vulnerability is fixed in 1.7.4.
Affected products
- PrivateBin: from 1.5.0 before 1.7.4 — fixed in 1.7.4
How to fix
Upgrade to a fixed version: PrivateBin 1.7.4. Check the vendor advisory for mitigations.
References
- https://github.com/PrivateBin/PrivateBin/commit/0c4e810e6728f67d678458838d8430dfba4fcca4
- https://github.com/PrivateBin/PrivateBin/pull/1370
- https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-mqqj-fx8h-437j
- https://github.com/PrivateBin/PrivateBin/commit/0c4e810e6728f67d678458838d8430dfba4fcca4
- https://github.com/PrivateBin/PrivateBin/pull/1370
- https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-mqqj-fx8h-437j
Get alerted when CVE-2024-39899 or the next vulnerability affects your stack