Skip to content
OpenAdvisories

Package · Packagist

privatebin/privatebin

8 known vulnerabilities.

8 results · Feed

  • None 0.0

    PrivateBin: Reflected JSON injection in backend responses via unescaped REQUEST_URI

    PrivateBin is an online pastebin where the server has zero knowledge of pasted data. Prior to 2.0.5, Request::getRequestUri() in lib/Request.php passes $_SERVER['REQUEST_URI'] through FILTER_SANITIZE_URL, which does not remove quotation marks, angle brackets,…

  • Medium 4.3

    PrivateBin: Stored Cross-Side-Scripting (XSS) vulnerability in attachment download link via dangerous MIME types with required user-interaction

    PrivateBin is an online pastebin where the server has zero knowledge of pasted data. Prior to 2.0.5, AttachmentViewer.setAttachment in js/privatebin.js uses getAttachmentMimeType to accept attacker-controlled MIME types and uses getBlobUrl to create a same-or…

  • Medium 5.8
    CVE-2025-64714 Public exploit

    PrivateBin's template-switching feature allows arbitrary local file inclusion through path traversal

    PrivateBin is an online pastebin where the server has zero knowledge of pasted data. Starting in version 1.7.7 and prior to version 2.0.3, an unauthenticated Local File Inclusion exists in the template-switching feature. If `templateselection` is enabled in t…

  • Low 3.9

    PrivateBin vulnerable to malicious filename use for self-XSS / HTML injection locally for users

    PrivateBin is an online pastebin where the server has zero knowledge of pasted data. Starting in version 1.7.7 and prior to version 2.0.3, dragging a file whose filename contains HTML is reflected verbatim into the page via the drag-and-drop helper, so any us…

  • Medium 5.8

    PrivateBin persistent HTML injection in attachment filename enables redirect and defacement

    PrivateBin is an online pastebin where the server has zero knowledge of pasted data. Versions 1.7.7 through 2.0.1 allow persistent HTML injection via the unsanitized attachment filename (attachment_name) when attachments are enabled. An attacker can modify at…

  • Medium 5.3

    PrivateBin allows shortening of URLs for other domains

    PrivateBin is an online pastebin where the server has zero knowledge of pasted data. In v1.5, PrivateBin introduced the YOURLS server-side proxy. The idea was to allow using the YOURLs URL shortener without running the YOURLs instance without authentication a…

  • High 8.2

    Persistent Cross-site Scripting (XSS) vulnerability in PrivateBin

    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…

  • Medium 6.1

    Persistent XSS vulnerability in filename of attached file in PrivateBin

    In PrivateBin versions 1.2.0 before 1.2.2, and 1.3.0 before 1.3.2, a persistent XSS attack is possible. Under certain conditions, a user provided attachment file name can inject HTML leading to a persistent Cross-site scripting (XSS) vulnerability. The vulner…