CVE-2024-39899
published medium CVSS 3.1 · 5.3PrivateBin allows shortening of URLs for other domains
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| PrivateBin | PrivateBin | >= 1.5.0, < 1.7.4 (affected) | GitHub_M · cna |
| privatebin | privatebin | 1.5.0 to < 1.7.4 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-305 CWE-305: Authentication Bypass by Primary Weakness
- CWE-791 CWE-791: Incomplete Filtering of Special Elements
References
3Provider assertions
3GitHub_M · cna
PrivateBin allows shortening of URLs for other domains
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f110de675201f966eda24311dd83042a935433e865dd783e3822e846f8321e50
- Ingested
- 23 Sep 2026, 08:25:18 UTC
- Source record
- Official CVE record