{"id":"CVE-2020-5223","state":"PUBLISHED","title":"Persistent XSS vulnerability in filename of attached file in PrivateBin","description":"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.","publishedAt":"2020-01-23T01:35:14.000Z","updatedAt":"2024-08-04T08:22:08.955Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["PrivateBin PrivateBin"],"affected":[{"vendor":"PrivateBin","product":"PrivateBin","versions":[{"version":">= 1.2.0, < 1.2.2","status":"affected"},{"version":">= 1.3.0, < 1.3.2","status":"affected"}]}],"references":["https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-8j72-p2wm-6738","https://privatebin.info/news/v1.3.2-v1.2.2-release.html","https://github.com/PrivateBin/PrivateBin/commit/8d0ac336d23cd8c98e71d5f21cdadcae9c8a26e6","https://github.com/PrivateBin/PrivateBin/issues/554"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:47:35.543Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/5xxx/CVE-2020-5223.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-5223","state":"PUBLISHED","datePublished":"2020-01-23T01:35:14.000Z","dateUpdated":"2024-08-04T08:22:08.955Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-01-02T00:00:00.000Z"},"containers":{"cna":{"title":"Persistent XSS vulnerability in filename of attached file in PrivateBin","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"PrivateBin","product":"PrivateBin","versions":[{"version":">= 1.2.0, < 1.2.2","status":"affected"},{"version":">= 1.3.0, < 1.3.2","status":"affected"}]}],"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"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Cross-site Scripting (XSS)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2020-01-23T01:35:14.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-8j72-p2wm-6738","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-5223","STATE":"PUBLIC","TITLE":"Persistent XSS vulnerability in filename of attached file in PrivateBin"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"PrivateBin","version":{"version_data":[{"version_value":">= 1.2.0, < 1.2.2"},{"version_value":">= 1.3.0, < 1.3.2"}]}}]},"vendor_name":"PrivateBin"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79 Cross-site Scripting (XSS)"}]}]},"references":{"reference_data":[{"name":"https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-8j72-p2wm-6738","refsource":"CONFIRM","url":"https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-8j72-p2wm-6738"},{"name":"https://privatebin.info/news/v1.3.2-v1.2.2-release.html","refsource":"MISC","url":"https://privatebin.info/news/v1.3.2-v1.2.2-release.html"},{"name":"https://github.com/PrivateBin/PrivateBin/commit/8d0ac336d23cd8c98e71d5f21cdadcae9c8a26e6","refsource":"MISC","url":"https://github.com/PrivateBin/PrivateBin/commit/8d0ac336d23cd8c98e71d5f21cdadcae9c8a26e6"},{"name":"https://github.com/PrivateBin/PrivateBin/issues/554","refsource":"MISC","url":"https://github.com/PrivateBin/PrivateBin/issues/554"}]},"source":{"advisory":"GHSA-8j72-p2wm-6738","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-8j72-p2wm-6738","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://privatebin.info/news/v1.3.2-v1.2.2-release.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/PrivateBin/PrivateBin/commit/8d0ac336d23cd8c98e71d5f21cdadcae9c8a26e6","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/PrivateBin/PrivateBin/issues/554","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T08:22:08.955Z"}}]}}}