Approved changes feed: RSS · Atom

cpe:2.3:a:privatebin:privatebin:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorPrivatebin (3a7aab17-c589-5282-b194-5394358754e0)
ProductPrivatebin (f3c9be58-43f4-56e8-a369-c276e54c3ed2)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/privatebin/privatebin purl2cpe 2026-06-01 10:15:41.051467
pkg:rpm/opensuse/privatebin purl2cpe 2026-06-01 10:15:41.051470

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2025-64714 vulnerable 2026-06-08 07:39:20.189722 PrivateBin's template-switching feature allows arbitrary local file inclusion through path traversal
MEDIUM (5.8)
PrivateBin is an online pastebin where the server has zero knowledge of pasted data. Starting in version 1.7.7 and prior to version 2.0.3, an unauthenticated Local File Inclusion exists in the template-switching feature. If `templateselection` is enabled in the configuration, the server trusts the `template` cookie and includes the referenced PHP file. An attacker can read sensitive data or, if they manage to drop a PHP file elsewhere, gain remote code execution. The constructed path of the template file is checked for existence, then included. For PrivateBin project files this does not leak any secrets due to data files being created with PHP code that prevents execution, but if a configuration file without that line got created or the visitor figures out the relative path to a PHP script that directly performs an action without appropriate privilege checking, those might execute or leak information. The issue has been patched in version 2.0.3. As a workaround, set `templateselection = false` (which is the default) in `cfg/conf.php` or remove it entirely
Published: 2025-11-13T15:16:55.347Z
Updated: 2025-11-13T15:34:19.782Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-64711 vulnerable 2026-06-08 07:39:20.186703 PrivateBin vulnerable to malicious filename use for self-XSS / HTML injection locally for users
LOW (3.9)
PrivateBin is an online pastebin where the server has zero knowledge of pasted data. Starting in version 1.7.7 and prior to version 2.0.3, dragging a file whose filename contains HTML is reflected verbatim into the page via the drag-and-drop helper, so any user who drops a crafted file on PrivateBin will execute arbitrary JavaScript within their own session (self-XSS). This allows an attacker who can entice a victim to drag or otherwise attach such a file to exfiltrate plaintext, encryption keys, or stored pastes before they are encrypted or sent. Certain conditions must exist for the vulnerability to be exploitable. Only macOS or Linux users are affected, due to the way the `>` character is treated in a file name on Windows. The PrivateBin instance needs to have file upload enabled. An attacker needs to have access to the local file system or somehow convince the user to create (or download) a malicious file (name). An attacker needs to convince the user to attach that malicious file to PrivateBin. Any Mac / Linux user who can be tricked into dragging a maliciously named file into the editor is impacted; code runs in the origin of the PrivateBin instance they are using. Attackers can steal plaintext, passphrases, or manipulate the UI before data is encrypted, defeating the zero-knowledge guarantees for that victim session, assuming counter-measures like Content-Security-Policy (CSP) have been disabled. If CSP is not disabled, HTML injection attacks may be possible - like redirecting to a foreign website, phishing etc. As the whole exploit needs to be included in the file name of the attached file and only affects the local session of the user (aka it is neither persistent nor remotely executable) and that user needs to interact and actively attach that file to the paste, the impact is considered to be practically low. Version 2.0.3 patches the issue.
Published: 2025-11-13T01:50:31.780Z
Updated: 2025-11-13T14:34:51.745Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-62796 vulnerable 2026-06-08 07:39:16.649920 PrivateBin persistent HTML injection in attachment filename enables redirect and defacement
MEDIUM (5.8)
PrivateBin is an online pastebin where the server has zero knowledge of pasted data. Versions 1.7.7 through 2.0.1 allow persistent HTML injection via the unsanitized attachment filename (attachment_name) when attachments are enabled. An attacker can modify attachment_name before encryption so that, after decryption, arbitrary HTML is inserted unescaped into the page near the file size hint, enabling redirect (e.g., meta refresh) and site defacement and related phishing attacks. Script execution is normally blocked by the recommended Content Security Policy, limiting confidentiality impact. The issue was introduced in 1.7.7 and fixed in 2.0.2. Update to 2.0.2 or later. Workarounds include enforcing the recommended CSP, deploying PrivateBin on a separate domain, or disabling attachments.
Published: 2025-10-28T20:47:50.277Z
Updated: 2025-10-29T13:31:54.964Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-39899 vulnerable 2026-06-08 06:41:51.800369 PrivateBin allows shortening of URLs for other domains
MEDIUM (5.3)
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.
Published: 2024-07-09T18:57:50.228Z
Updated: 2024-08-02T04:33:11.967Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-24833 vulnerable 2026-06-08 05:41:44.721221 Persistent Cross-site Scripting (XSS) vulnerability in PrivateBin
HIGH (8.2)
PrivateBin is minimalist, open source online pastebin clone where the server has zero knowledge of pasted data. In PrivateBin < v1.4.0 a cross-site scripting (XSS) vulnerability was found. The vulnerability is present in all versions from v0.21 of the project, which was at the time still called ZeroBin. The issue is caused by the fact that SVGs can contain JavaScript. This can allow an attacker to execute code, if the user opens a paste with a specifically crafted SVG attachment, and interacts with the preview image and the instance isn't protected by an appropriate content security policy. Users are advised to either upgrade to version 1.4.0 or to ensure the content security policy of their instance is set correctly.
Published: 2022-04-11T20:20:33.000Z
Updated: 2025-04-22T18:16:25.428Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-5223 vulnerable 2026-06-08 05:26:41.535130 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.