CVE-2020-5223 json
Persistent XSS vulnerability in filename of attached file in PrivateBin
published 2020-01-14 6 y ago modified 2026-07-08 4 mo ago also GHSA-8j72-p2wm-6738 , EUVD-2020-0256
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
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.
Patch / fix
- packagist privatebin/privatebin 1.2.2, 1.3.2
- privatebin privatebin 1.2.2, 1.3.2
Exploit prediction
0.66% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-8j72-p2wm-6738 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N |
| NVD | 3.1 | 4.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 2.1 | AV:N/AC:H/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | privatebin/privatebin | <1.2.2 >=1.3.0, <1.3.2 |
1.2.2 1.3.2 |
Affected products
- PrivateBin PrivateBin
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/PrivateBin/PrivateBin/commit/8d0ac336d23cd8c98e71d5f21cdadcae9c8a26e6
web, patch
-
github.com
/PrivateBin/PrivateBin/security/advisories/GHSA-8j72-p2wm-6738
web, exploit, third-party-advisory
-
privatebin.info
/news/v1.3.2-v1.2.2-release.html
web, release-notes, vendor-advisory
-
github.com
/PrivateBin/PrivateBin/issues/554
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-5223
advisory
Sources
- CVE List CVE-2020-5223
- GitHub Advisory GHSA-8j72-p2wm-6738
- NVD CVE-2020-5223
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.