{"api_version":"1","generated_at":"2026-07-23T11:15:47+00:00","cve":"CVE-2020-5223","urls":{"html":"https://cve.report/CVE-2020-5223","api":"https://cve.report/api/cve/CVE-2020-5223.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-5223","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-5223"},"summary":{"title":"CVE-2020-5223","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2020-01-23 02:15:00","updated_at":"2020-01-29 16:20:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://github.com/PrivateBin/PrivateBin/issues/554","name":"https://github.com/PrivateBin/PrivateBin/issues/554","refsource":"MISC","tags":["Third Party Advisory"],"title":"HTML injection via unescaped attachment filename · Issue #554 · PrivateBin/PrivateBin · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/PrivateBin/PrivateBin/commit/8d0ac336d23cd8c98e71d5f21cdadcae9c8a26e6","name":"https://github.com/PrivateBin/PrivateBin/commit/8d0ac336d23cd8c98e71d5f21cdadcae9c8a26e6","refsource":"MISC","tags":["Patch"],"title":"addressing jsverifyRngState 8b8f0d4ec2a67139b5, fixes HTML injection … · PrivateBin/PrivateBin@8d0ac33 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://privatebin.info/news/v1.3.2-v1.2.2-release.html","name":"https://privatebin.info/news/v1.3.2-v1.2.2-release.html","refsource":"MISC","tags":["Release Notes","Vendor Advisory"],"title":"Release v1.3.2 & v1.2.2 - Fix for persistent XSS vulnerability in filenames of attached files - PrivateBin","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-8j72-p2wm-6738","name":"https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-8j72-p2wm-6738","refsource":"CONFIRM","tags":["Exploit","Third Party Advisory"],"title":"Persistent XSS vulnerability in filename of attached file in PrivateBin < 1.3.2/1.2.2 (2020-01-11) · Advisory · PrivateBin/PrivateBin · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-5223","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5223","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"5223","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"privatebin","cpe5":"privatebin","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"5223","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"privatebin","cpe5":"privatebin","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"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"}},"nvd":{"publishedDate":"2020-01-23 02:15:00","lastModifiedDate":"2020-01-29 16:20:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":4.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.3,"impactScore":2.7},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:H/Au:S/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"HIGH","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":2.1},"severity":"LOW","exploitabilityScore":3.9,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:privatebin:privatebin:*:*:*:*:*:*:*:*","versionStartIncluding":"1.2","versionEndExcluding":"1.2.2","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:privatebin:privatebin:*:*:*:*:*:*:*:*","versionStartIncluding":"1.3","versionEndExcluding":"1.3.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"5223","Ordinal":"165437","Title":"CVE-2020-5223","CVE":"CVE-2020-5223","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"5223","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"5223","Ordinal":"2","NoteData":"2020-01-22","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"5223","Ordinal":"3","NoteData":"2020-01-22","Type":"Other","Title":"Modified"}]}}}