{"id":"CVE-2021-3780","aliases":["CVE-2021-3780","GHSA-f2c5-997w-7f5c"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting (XSS) - Stored in chocobozzz/peertube","summary":"peertube is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","summarySource":"cvelist","descriptions":[{"lang":"en","text":"peertube is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","source":"cvelist"},{"lang":"en","text":"peertube is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). It was found that one could upload a SVG image and then send the url of that to other users and when they open the link we can get their complete session keys as the session keys stored in local storage and with Javascript easily can be stolen by attackers.","format":"markdown","source":"ghsa"},{"lang":"es","text":"peertube es vulnerable a una Neutralización Inapropiada de Entradas Durante la Generación de Páginas Web (\"Cross-site Scripting\")","source":"nvd"}],"published":"2021-09-15T11:15:11.000Z","modified":"2026-06-17T04:05:44.940Z","severity":{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","score":7.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"3.4.0","status":"affected"}],"vendor":"chocobozzz","product":"chocobozzz/peertube","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.4.0"}],"ecosystem":"npm","package":"peertube","purl":"pkg:npm/peertube","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.4.0"}],"vendor":"framasoft","product":"peertube","cpe":"cpe:2.3:a:framasoft:peertube:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.dev/bounties/282807a8-4bf5-4fe2-af62-e05f945b3d65","tags":["exploit","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/chocobozzz/peertube/commit/0ea2f79d45b301fcd660efc894469a99b2239bf6","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3780","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/chocobozzz/peertube","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"@huntrdev","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3780","url":"https://www.cve.org/CVERecord?id=CVE-2021-3780","licence":"CVE Terms of Use","modified":"2024-08-03T17:09:08.860Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f2c5-997w-7f5c","url":"https://github.com/advisories/GHSA-f2c5-997w-7f5c","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:24.324Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3780","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3780","licence":"Public domain","modified":"2026-06-17T04:05:44.940Z"}],"updatedAt":"2026-11-25T22:58:03.980Z","epss":{"score":0.00899,"percentile":0.60689,"date":"2026-12-01T12:00:22.000Z"}}