Lucene search

K
cvelistGitHub_MCVELIST:CVE-2022-24833
HistoryApr 11, 2022 - 8:20 p.m.

CVE-2022-24833 Persistent Cross-site Scripting (XSS) vulnerability in PrivateBin

2022-04-1120:20:33
CWE-79
GitHub_M
www.cve.org
6
cross-site scripting
privatebin
vulnerability
svg
content security policy

CVSS3

8.2

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

AI Score

7.5

Confidence

High

EPSS

0.001

Percentile

30.5%

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.

CNA Affected

[
  {
    "product": "PrivateBin",
    "vendor": "PrivateBin",
    "versions": [
      {
        "status": "affected",
        "version": ">= v0.21, < v1.4.0"
      }
    ]
  }
]

CVSS3

8.2

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

AI Score

7.5

Confidence

High

EPSS

0.001

Percentile

30.5%

Related for CVELIST:CVE-2022-24833