XSS in Privatebin
CVE-2022-24833
PrivateBin is minimalist, open source online pastebin clone where the server has zero knowledge of pasted data. In PrivateBin < v1.4.0 a cross-site scripting (XSS) vulnerability was found. The vulnerability is present in all versions from v0.21 of the project, which was at the time still called ZeroBin. The issue is caused by the fact that SVGs can contain JavaScript. This can allow an attacker to execute code, if the user opens a paste with a specifically crafted SVG attachment, and interacts with the preview image and the instance isn't protected by an appropriate content security policy. Users are advised to either upgrade to version 1.4.0 or to ensure the content security policy of their instance is set correctly.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.013 (66.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N.
Affected products
- Privatebin — versions >= v0.21, < v1.4.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2022-24833?
- CVE-2022-24833 is a high-severity vulnerability in Privatebin, classified under Cross-site Scripting. CVSS score: 8.2/10. Published 2022-04-11.
- How severe is CVE-2022-24833?
- High severity. CVSS v3 base score is 8.2 out of 10.