CVE-2025-62796 (CNNVD-202510-3772)

MEDIUM
中文标题:
PrivateBin 安全漏洞
英文标题:
PrivateBin persistent HTML injection in attachment filename enables redirect and defacement
CVSS分数: 5.8
发布时间: 2025-10-28 20:47:50
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

PrivateBin是PrivateBin项目的一个极简的开源在线粘贴箱。 PrivateBin 1.7.7版本至2.0.1版本存在安全漏洞,该漏洞源于未清理附件文件名,可能导致HTML注入攻击。

英文描述:

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.

CWE类型:
CWE-79 CWE-80
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
PrivateBin PrivateBin >= 1.7.7, < 2.0.2 - - cpe:2.3:a:privatebin:privatebin:>=_1.7.7,_<_2.0.2:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-867c-p784-5q6g x_refsource_CONFIRM
cve.org
访问
https://github.com/PrivateBin/PrivateBin/pull/1550 x_refsource_MISC
cve.org
访问
https://github.com/PrivateBin/PrivateBin/commit/c4f8482b3072be7ae012cace1b3f5658dcc3b42e x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
MEDIUM
5.8
CVSS向量: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
机密性
NONE
完整性
LOW
可用性
NONE
时间信息
发布时间:
2025-10-28 20:47:50
修改时间:
2025-10-29 13:31:54
创建时间:
2025-11-11 15:40:49
更新时间:
2025-11-11 16:00:19
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-62796 2025-11-11 15:23:33 2025-11-11 07:40:49
NVD nvd_CVE-2025-62796 2025-11-11 15:01:07 2025-11-11 07:48:35
CNNVD cnnvd_CNNVD-202510-3772 2025-11-11 15:12:59 2025-11-11 08:00:19
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:19
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202510-3772; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202510-3772
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:35
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']