CVE-2025-64711
Last modified
CVE-2025-64711 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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). EPSS estimates a 0.11% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Privatebin | Privatebin | >= 1.7.7, < 2.0.3 |
References
- https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-r9x7-7ggj-fx9fExploit, Mitigation, Vendor Advisory
- https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-r9x7-7ggj-fx9fExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-64711?
How severe is CVE-2025-64711?
How do I fix CVE-2025-64711?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-64706Typebot is an open-source chatbot builder. In version 3.9.0 …7.5
- CVE-2025-64707Frappe Learning is a learning system that helps users struct…5.4
- CVE-2025-64708authentik is an open-source Identity Provider. Prior to vers…5.3
- CVE-2025-64709Typebot is an open-source chatbot builder. In versions prior…9.9
- CVE-2025-6471A vulnerability classified as critical was found in code-pro…9.8
- CVE-2025-64710Bitplatform Boilerplate is a Visual studio and .NET project …5.3
- CVE-2025-64712The unstructured library provides open-source components for…9.8
- CVE-2025-64713WebAssembly Micro Runtime (WAMR) is a lightweight standalone…7.4
- CVE-2025-64714PrivateBin is an online pastebin where the server has zero k…5.8
- CVE-2025-64715Cilium is a networking, observability, and security solution…5.5
- CVE-2025-64716Anubis is a Web AI Firewall Utility that challenges users' c…5.1
- CVE-2025-64717ZITADEL is an open source identity management platform. Star…9.8
Are you affected by CVE-2025-64711?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
