Persistent XSS vulnerability in filename of attached file in PrivateBin
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- None
- Attack complexity
- High
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
In PrivateBin versions 1.2.0 before 1.2.2, and 1.3.0 before 1.3.2, a persistent XSS attack is possible. Under certain conditions, a user provided attachment file name can inject HTML leading to a persistent Cross-site scripting (XSS) vulnerability. The vulnerability has been fixed in PrivateBin v1.3.2 & v1.2.2. Admins are urged to upgrade to these versions to protect the affected users.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| PrivateBin | PrivateBin | 1.2.0 to before 1.2.2; 1.3.0 to before 1.3.2 | 1.2.2, 1.3.2 | Patch available | CNA |
| — | privatebin/privatebin (Packagist) | before 1.2.2 | 1.2.2 | Patch available | GHSA-8j72-p2wm-6738 |
| — | privatebin/privatebin (Packagist) | 1.3.0 to before 1.3.2 | 1.3.2 | Patch available | GHSA-8j72-p2wm-6738 |
- PrivateBin VendorPrivateBin Affected 1.2.0 to before 1.2.2; 1.3.0 to before 1.3.2 Fixed in 1.2.2, 1.3.2 Patch available CNA
- privatebin/privatebin (Packagist) Vendor— Affected before 1.2.2 Fixed in 1.2.2 Patch available GHSA-8j72-p2wm-6738
- privatebin/privatebin (Packagist) Vendor— Affected 1.3.0 to before 1.3.2 Fixed in 1.3.2 Patch available GHSA-8j72-p2wm-6738
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:privatebin:privatebin:*:*:*:*:*:*:*:* | 1.2 to before 1.2.2; 1.3 to before 1.3.2 | Vulnerable | PrivateBin |
- cpe:2.3:a:privatebin:privatebin:*:*:*:*:*:*:*:* Versions 1.2 to before 1.2.2; 1.3 to before 1.3.2 Vulnerable ·PrivateBin
Remediation
- Fix · CNA PrivateBin (PrivateBin) Fixed in 1.2.2, 1.3.2
- Fix · GHSA-8j72-p2wm-6738 privatebin/privatebin (Packagist) Fixed in 1.2.2 Advisory →
- Fix · GHSA-8j72-p2wm-6738 privatebin/privatebin (Packagist) Fixed in 1.3.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-5223
- 2026-10-03 Alias added: GHSA-8j72-p2wm-6738
- 2026-10-11 EPSS moved to the 50th–90th percentile
References
More Privatebin vulnerabilities
- TI-2022-08646 Persistent Cross-site Scripting (XSS) vulnerability in PrivateBin CVSS 3.1HIGH 8.2
- TI-2025-40057 PrivateBin vulnerable to malicious filename use for self-XSS / HTML injection locally for users CVSS 3.1MEDIUM 5.4
Sources
- CVE-2020-5223 · CVE Program
- CVE-2020-5223 · NVD
- FIRST EPSS
- GHSA-8j72-p2wm-6738 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences