Skip to content
Fencer Vulns
medium 6.1

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

Sources

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.