# CVE-2022-24833: Persistent Cross-site Scripting vulnerability in PrivateBin

Source: https://junglewise.ai/threats/cve-2022-24833-persistent-cross-site-scripting-vulnerability-in-privatebin  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-04-12  
License: CC BY 4.0 with a link back

CVE-2022-24833 · Severity: low · CVSS 3.1 · Published 2022-04-12

Persistent Cross-site Scripting vulnerability in PrivateBin

Technologies: [privatebin/privatebin (Packagist)](https://junglewise.ai/threats/technologies/privatebin-privatebin). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2022-24833 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-24833 being exploited in the wild.

**How severe is CVE-2022-24833?** Low severity, with a CVSS score of 3.1, published 12 April 2022.

**Which products and versions are affected?** privatebin/privatebin (Packagist) ECOSYSTEM:introduced=0.21,fixed=1.4.0.

**Is there a fix for CVE-2022-24833?** Yes. privatebin/privatebin (Packagist): upgrade to 1.4.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-24833?** Check whether you run privatebin/privatebin (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- privatebin/privatebin (Packagist): upgrade to 1.4.0 or later

  ```sh
  composer require privatebin/privatebin:^1.4.0
  ```


## Affected products

- privatebin/privatebin (Packagist) ECOSYSTEM:introduced=0.21,fixed=1.4.0

## Identifiers

- CVE-2022-24833
- GHSA-cqcc-mm6x-vmvw

## Related threats

- [PrivateBin reflected JSON injection in jsonld endpoints](https://junglewise.ai/threats/cve-2026-55891-privatebin-reflected-json-injection-in-jsonld-endpoints)
- [PrivateBin stored XSS in attachment download link](https://junglewise.ai/threats/cve-2026-55696-privatebin-stored-xss-in-attachment-download-link)
- [PrivateBin's template-switching feature allows arbitrary local file inclusion through path traversal](https://junglewise.ai/threats/cve-2025-64714-privatebin-s-template-switching-feature-allows-arbitrary-local)
- [PrivateBin vulnerable to malicious filename use for self-XSS / HTML injection locally for users](https://junglewise.ai/threats/cve-2025-64711-privatebin-vulnerable-to-malicious-filename-use-for-self-xss-html)
- [PrivateBin is missing HTML sanitization of attached filename in file size hint](https://junglewise.ai/threats/cve-2025-62796-privatebin-is-missing-html-sanitization-of-attached-filename-in)
