{"id":"CVE-2020-5223","published":"2020-01-23T01:35:14Z","modified":"2024-08-04T08:22:08Z","title":"Persistent XSS vulnerability in filename of attached file in PrivateBin","vendor":"PrivateBin","product":"PrivateBin","tier":"tail","description":{"text":"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 vulnerability has been fixed in PrivateBin v1.3.2 & v1.2.2. Admins are urged to upgrade to these versions to protect the affected users.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00658,"percentile":0.4628,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-8j72-p2wm-6738","tags":["x_refsource_CONFIRM"]},{"url":"https://privatebin.info/news/v1.3.2-v1.2.2-release.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/PrivateBin/PrivateBin/commit/8d0ac336d23cd8c98e71d5f21cdadcae9c8a26e6","tags":["x_refsource_MISC"]},{"url":"https://github.com/PrivateBin/PrivateBin/issues/554","tags":["x_refsource_MISC"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":9.26},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"privatebin","affectedVersions":[{"vendor":"PrivateBin","product":"PrivateBin","versions":[">= 1.2.0, < 1.2.2",">= 1.3.0, < 1.3.2"]}],"affected":[{"ecosystem":"Packagist","package":"privatebin/privatebin","vulnerableRanges":["<1.2.2",">=1.3.0, <1.3.2"],"patched":["1.2.2","1.3.2"],"from":["GHSA-8j72-p2wm-6738"],"provenance":"source"}],"summary":{"text":"A persistent cross-site scripting flaw exists in the attachment filename handling of PrivateBin, affecting versions 1.2.0 before 1.2.2 and 1.3.0 before 1.3.2, where a user-supplied file name can inject HTML into pages. An attacker would need local access and high-privilege authentication, with a configuration-dependent setup and no user interaction required, to inject script that persists and runs in the context of other users.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:35Z"},"euvd":{"id":"EUVD-2020-0256","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-privatebin-cve-2020-5223","children":[{"from":"CVE-2020-5223","to":"CVE-2022-24833","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["js/privatebin.js","tpl/bootstrap.php","tpl/page.php"],"commits":["https://github.com/PrivateBin/PrivateBin/commit/8d0ac336d23cd8c98e71d5f21cdadcae9c8a26e6","https://github.com/PrivateBin/PrivateBin/commit/2a4d572c1e9eb9b608d32b0cc0cb3b6c3b684eab"],"basis":"rarely changed file"}]}]}}