{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-5223","id":"CVE-2020-5223","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.","descriptionLong":"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.","published":"2020-01-23T01:35:14.000Z","updated":"2026-10-20T10:54:23.324705019Z","reserved":"2020-01-02T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":2.1,"vector":"AV:N/AC:H/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":["PrivateBin"],"affectedProducts":[{"vendor":"PrivateBin","product":"PrivateBin","defaultStatus":null,"versions":[{"status":"affected","version":">= 1.2.0, < 1.2.2"},{"status":"affected","version":">= 1.3.0, < 1.3.2"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"privatebin/privatebin","purl":"pkg:composer/privatebin/privatebin","ranges":["<1.2.2",">=1.3.0 <1.3.2"],"fixed":["1.2.2","1.3.2"],"advisory":"GHSA-8j72-p2wm-6738"}],"cwes":["CWE-79"],"aliases":["GHSA-8j72-p2wm-6738"],"references":[{"url":"https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-8j72-p2wm-6738","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://privatebin.info/news/v1.3.2-v1.2.2-release.html","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","advisory","web"]},{"url":"https://github.com/PrivateBin/PrivateBin/commit/8d0ac336d23cd8c98e71d5f21cdadcae9c8a26e6","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/PrivateBin/PrivateBin/issues/554","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5223","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00658,"epssPercentile":0.52215,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-5223","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5223","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-5223","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8j72-p2wm-6738","ok":true,"note":"GHSA-8j72-p2wm-6738"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-5223","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}