CVE-2022-24833
Description
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.
How to fix
- privatebin privatebin1.4.0 or later
- privatebin/privatebin1.4.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| privatebin privatebin | 0.21 ≤ v < 1.4.0 | 1.4.0 |
| privatebin/privatebinPackagist | 0.21 ≤ v < 1.4.0 | 1.4.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.