CVE-2020-5223Privatebin
Medium 4.4
Follow: this CVE · Privatebin · Privatebin We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.1
- 4.4
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 53
- Auth required
- Yes
- Published
- Jan 23, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Privatebin.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | privatebin/privatebin |
< 1.2.2 |
1.2.2 |
composer require "privatebin/privatebin:^1.2.2" |
| Packagist | privatebin/privatebin |
≥ 1.3.0 < 1.3.2 |
1.3.2 |
composer require "privatebin/privatebin:^1.3.2" |
Per OSV / GitHub Advisories (GHSA-8j72-p2wm-6738). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| privatebin | privatebin | ≥ 1.2 < 1.2.2 |
| privatebin | privatebin | ≥ 1.3 < 1.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Third Party Advisory
- github.com Exploit Third Party Advisory
- privatebin.info Release Notes Vendor Advisory