Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-55696— PrivateBin: Stored Cross-Side-Scripting (XSS) vulnerability in attachment download link via dangerous MIME types with required user-interaction

Quick assessment

Affected
PrivateBin PrivateBin
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PrivateBin 是一个在线粘贴板服务,其服务器对粘贴的数据没有任何了解(即零知识)。在 2.0.5 版本之前, 中的 函数使用 接受由攻击者控制的 MIME 类型,并通过 创建同源的 blob 对象,然后将其设置为“下载”附件链接( )的 属性。由于 SVG 专用净化分支仅更新预览用的 blob,因此 、 、 和 类型的附件在下载用 blob 中仍可能保持“活动”状态(即可执行脚本)。 在一个启用了文件上传( ),且内容安全策略(CSP)被削弱、被移除或缺失的实例上,匿名攻击者可以创建此类附件。当受害者在新标

CVSS 4.3 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-55696

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
PrivateBin: Stored Cross-Side-Scripting (XSS) vulnerability in attachment download link via dangerous MIME types with required user-interaction
Source: CVE Program / CVE List V5
Vulnerability Description
PrivateBin is an online pastebin where the server has zero knowledge of pasted data. Prior to 2.0.5, AttachmentViewer.setAttachment in js/privatebin.js uses getAttachmentMimeType to accept attacker-controlled MIME types and uses getBlobUrl to create a same-origin blob before setting attachmentLink's href for the Download attachment link. The SVG-only sanitization branch updates only the preview blob, so text/html, image/svg, application/xhtml+xml, and text/xml attachments can remain active in the download blob. On an instance with fileupload = true and a weakened, stripped, or absent Content Security Policy, an anonymous attacker can create such an attachment, and a victim who opens the link in a new tab causes inline JavaScript to execute in the PrivateBin origin. The script can read origin-scoped local storage and issue same-origin requests, including requests to applications co-hosted on the same domain. This issue is fixed in version 2.0.5.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
PrivateBin PrivateBin < 2.0.5 -

II. Public POCs for CVE-2026-55696

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-55696

登录查看更多情报信息。

Patches & Fixes for CVE-2026-55696 (2)

Vendor Advisories for CVE-2026-55696 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-55696

No comments yet


Leave a comment