CVE-2022-24833

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-24833
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24833.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-24833
Aliases
Published
2022-04-11T21:15:08Z
Modified
2024-05-30T03:30:28.592989Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/privatebin/privatebin

Affected ranges

Type
GIT
Repo
https://github.com/privatebin/privatebin
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.18
0.19
0.20
0.21
0.21.1
0.22

1.*

1.0
1.1
1.2
1.2.1
1.3
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5