CVE-2025-64711
BaseFortify
Publication date: 2025-11-13
Last updated on: 2025-11-25
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| privatebin | privatebin | From 1.7.7 (inc) to 2.0.3 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability in PrivateBin versions 1.7.7 up to 2.0.3 involves the drag-and-drop feature for files with filenames containing HTML. When a user drags such a file into the editor, the filename is reflected verbatim into the page, allowing arbitrary JavaScript to execute within the user's session (self-XSS). This can lead to attackers stealing plaintext, encryption keys, or stored pastes before encryption or sending. The exploit requires the user to actively drag or attach a maliciously named file, affects only macOS or Linux users, and depends on file upload being enabled on the PrivateBin instance. The vulnerability is patched in version 2.0.3.
How can this vulnerability impact me? :
If exploited, this vulnerability can allow an attacker to execute arbitrary JavaScript in the victim's session, potentially stealing plaintext data, encryption keys, or stored pastes before they are encrypted or sent. It can also allow manipulation of the user interface to deceive the user. However, the attack requires user interaction (dragging or attaching a malicious file), affects only macOS or Linux users, and only if file upload is enabled. The overall practical impact is considered low.
What immediate steps should I take to mitigate this vulnerability?
Upgrade PrivateBin to version 2.0.3 or later, as this version patches the vulnerability. Additionally, ensure that Content-Security-Policy (CSP) is enabled to help prevent HTML injection attacks. Disable file upload functionality if it is not needed to reduce exposure. Educate users, especially macOS and Linux users, to avoid dragging or attaching files with suspicious or HTML-containing filenames to PrivateBin.