Packagist (PHP)Worst: High8 advisories

privatebin/privatebin: known vulnerabilities

privatebin/privatebin has 8 reviewed security advisories in the GitHub Advisory Database — 1 high, 5 moderate, 2 low. The most recent was published 2026-08-28. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the privatebin/privatebin versions running across your servers, containers and images, and ranks what to patch first.

How to fix privatebin/privatebin

Upgrade privatebin/privatebin to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):

composer require privatebin/privatebin:^2.0.5 (composer audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (8)

PrivateBin has stored Cross-Side-Scripting (XSS) vulnerability in attachment download link via dangerous MIME types with required user-interaction Moderate 4.3 CWE-79 CWE-80 — Affected: before 2.0.5. Fixed in 2.0.5. Published 2026-08-28. GHSA-f2xf-7x3g-4272 · CVE-2026-55696
PrivateBin has reflected JSON injection in backend responses via unescaped REQUEST_URI Low 0.0 CWE-116 — Affected: before 2.0.5. Fixed in 2.0.5. Published 2026-08-28. GHSA-xrjc-c68j-hp7w · CVE-2026-55891
PrivateBin's template-switching feature allows arbitrary local file inclusion through path traversal Moderate 5.8 CWE-23 CWE-73 CWE-98 — Affected: from 1.7.7 up to 2.0.3. Fixed in 2.0.3. Published 2025-11-13. GHSA-g2j9-g8r5-rg82 · CVE-2025-64714
PrivateBin vulnerable to malicious filename use for self-XSS / HTML injection locally for users Low 3.9 CWE-79 — Affected: from 1.7.7 up to 2.0.3. Fixed in 2.0.3. Published 2025-11-13. GHSA-r9x7-7ggj-fx9f · CVE-2025-64711
PrivateBin is missing HTML sanitization of attached filename in file size hint Moderate 5.8 CWE-601 CWE-79 — Affected: from 1.7.7 up to 2.0.2. Fixed in 2.0.2. Published 2025-10-28. GHSA-867c-p784-5q6g · CVE-2025-62796
PrivateBin allows shortening of URLs for other domains Moderate 5.3 CWE-305 CWE-791 — Affected: from 1.5.0 up to 1.7.4. Fixed in 1.7.4. Published 2024-07-09. GHSA-mqqj-fx8h-437j · CVE-2024-39899
Persistent Cross-site Scripting vulnerability in PrivateBin High 8.2 CWE-79 — Affected: from 0.21 up to 1.4.0. Fixed in 1.4.0. Published 2022-04-11. GHSA-cqcc-mm6x-vmvw · CVE-2022-24833
Persistent XSS vulnerability in filename of attached file in PrivateBin Moderate 6.1 CWE-79 — Affected: from 1.3.0 up to 1.3.2. Fixed in 1.3.2. Published 2020-01-14. GHSA-8j72-p2wm-6738 · CVE-2020-5223

Find privatebin/privatebin across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.