CVE-2025-64711
Full vulnerability record from the local CVENow database.
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.
View original CVE JSON
{
"id": "CVE-2025-64711",
"sourceIdentifier": "[email protected]",
"published": "2025-11-13T03:16:29.143",
"lastModified": "2026-10-19T13:10:00.110",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "PrivateBin es un pastebin en línea donde el servidor tiene conocimiento cero de los datos pegados. A partir de la versión 1.7.7 y antes de la versión 2.0.3, arrastrar un archivo cuyo nombre de archivo contiene HTML se refleja textualmente en la página a través del asistente de arrastrar y soltar, por lo que cualquier usuario que suelte un archivo manipulado en PrivateBin ejecutará JavaScript arbitrario dentro de su propia sesión (self-XSS). Esto permite a un atacante que puede atraer a una víctima para que arrastre o adjunte de otra manera dicho archivo exfiltrar texto plano, claves de cifrado o pegados almacenados antes de que sean cifrados o enviados. Deben existir ciertas condiciones para que la vulnerabilidad sea explotable. Solo los usuarios de macOS o Linux se ven afectados, debido a la forma en que se trata el carácter '>' en un nombre de archivo en Windows. La instancia de PrivateBin necesita tener la carga de archivos habilitada. Un atacante necesita tener acceso al sistema de archivos local o de alguna manera convencer al usuario de crear (o descargar) un archivo (nombre) malicioso. Un atacante necesita convencer al usuario de adjuntar ese archivo malicioso a PrivateBin. Cualquier usuario de Mac / Linux que pueda ser engañado para arrastrar un archivo con nombre malicioso al editor es impactado; el código se ejecuta en el origen de la instancia de PrivateBin que están utilizando. Los atacantes pueden robar texto plano, frases de contraseña o manipular la interfaz de usuario antes de que los datos sean cifrados, anulando las garantías de conocimiento cero para esa sesión de víctima, asumiendo que las contramedidas como Content-Security-Policy (CSP) han sido deshabilitadas. Si CSP no está deshabilitado, los ataques de inyección HTML pueden ser posibles, como redirigir a un sitio web externo, phishing, etc. Dado que todo el exploit debe incluirse en el nombre de archivo del archivo adjunto y solo afecta la sesión local del usuario (es decir, no es persistente ni ejecutable remotamente) y ese usuario necesita interactuar y adjuntar activamente ese archivo al pegado, el impacto se considera prácticamente bajo. La versión 2.0.3 corrige el problema."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "PrivateBin",
"product": "PrivateBin",
"versions": [
{
"version": ">= 1.7.7, < 2.0.3",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N",
"baseScore": 3.9,
"baseSeverity": "LOW",
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 1.3,
"impactScore": 2.5
},
{
"source": "[email protected]",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"baseScore": 5.4,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.3,
"impactScore": 2.7
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2025-11-13T14:28:32.150477Z",
"id": "CVE-2025-64711",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:privatebin:privatebin:*:*:*:*:*:*:*:*",
"versionStartIncluding": "1.7.7",
"versionEndExcluding": "2.0.3",
"matchCriteriaId": "23BB5998-A81C-4822-95B3-EC46DF2F4BD2"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/PrivateBin/PrivateBin/commit/f9550e513381208b36595ee2404e968144bba78b",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-r9x7-7ggj-fx9f",
"source": "[email protected]",
"tags": [
"Exploit",
"Mitigation",
"Vendor Advisory"
]
},
{
"url": "https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-r9x7-7ggj-fx9f",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Exploit",
"Mitigation",
"Vendor Advisory"
]
}
]
}