What’s Vulnerable › Vulnerabilities
CVE-2020-5223: Persistent XSS vulnerability in filename of attached file in PrivateBin
- Severity: medium (CVSS 4.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-01-23 · updated 2026-06-17
- Weakness: CWE-79
Description
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.
Affected products
- PrivateBin: from 1.2 before 1.2.2; from 1.3 before 1.3.2 — fixed in 1.2.2, 1.3.2
How to fix
Upgrade to a fixed version: PrivateBin 1.2.2, 1.3.2. Check the vendor advisory for mitigations.
References
- https://github.com/PrivateBin/PrivateBin/commit/8d0ac336d23cd8c98e71d5f21cdadcae9c8a26e6
- https://github.com/PrivateBin/PrivateBin/issues/554
- https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-8j72-p2wm-6738
- https://privatebin.info/news/v1.3.2-v1.2.2-release.html
- https://github.com/PrivateBin/PrivateBin/commit/8d0ac336d23cd8c98e71d5f21cdadcae9c8a26e6
- https://github.com/PrivateBin/PrivateBin/issues/554
- https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-8j72-p2wm-6738
- https://privatebin.info/news/v1.3.2-v1.2.2-release.html
Get alerted when CVE-2020-5223 or the next vulnerability affects your stack