Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-62796 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')[email protected]
CWE-80Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)[email protected]

Affected Products

ProductVersions
PrivateBin
>= 1.7.7, <= 2.0.1 (semver)

CPE

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

Remediation

  • Upgrade: 2.0.2moderate effort
  • Workaround:low effort

    Disable attachments.

  • Workaround:low effort

    Deploy PrivateBin on a separate domain.

  • Mitigation:low effort

    Update the Content Security Policy (CSP) to the latest recommended settings and verify that it is not being reverted or overwritten by your web server, reverse proxy, or CDN.

Change History

3 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-62796
NVD Published Date:
Oct 28, 2025
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2025-62796 Details - Not Deferred