Vulnerability · Published Jan 23, 2020 · Assigned by GitHub_M
CVE-2020-5223Persistent XSS vulnerability in filename of attached file in PrivateBin
Medium 6.1
In plain English
A medium-severity cross-site scripting in PrivateBin from PrivateBin. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | privatebin/privatebin | 1.2.2 | GHSA-8j72-p2wm-6738 |
| Packagist | privatebin/privatebin | 1.3.2 | GHSA-8j72-p2wm-6738 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| PrivateBin | PrivateBin | >= 1.2.0, < 1.2.2>= 1.3.0, < 1.3.2 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N
References
- https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-8j72-p2wm-6738 x_refsource_CONFIRM
- https://privatebin.info/news/v1.3.2-v1.2.2-release.html x_refsource_MISC
- https://github.com/PrivateBin/PrivateBin/commit/8d0ac336d23cd8c98e71d5f21cdadcae9c8a26e6 x_refsource_MISC
- https://github.com/PrivateBin/PrivateBin/issues/554 x_refsource_MISC