Live threats

All CVEs / Privatebin

CVE-2022-24833Privatebin

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
No
Published
Apr 11, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Privatebin.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist privatebin/privatebin ≥ 0.21 < 1.4.0 1.4.0 composer require "privatebin/privatebin:^1.4.0"

Per OSV / GitHub Advisories (GHSA-cqcc-mm6x-vmvw). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
privatebinprivatebin≥ 0.21 < 1.4.0

Official sources

References

Links published by the sources. Open them with care.