# CVE-2021-3780: Cross-site Scripting (XSS) - Stored in chocobozzz/peertube

- Severity: High 7.6 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.90%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-15T11:15:11.000Z
- Modified: 2026-06-17T04:05:44.940Z
- Also known as: GHSA-f2c5-997w-7f5c
- Weaknesses: CWE-79
- Assigned by: @huntrdev

## Description

peertube is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

(As written by CVE List.)

## Affected

- chocobozzz chocobozzz/peertube: from unspecified before 3.4.0
- peertube (npm): before 3.4.0
- framasoft peertube: before 3.4.0

## Every score

- @huntrdev: CVSS:3.0 7.6 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://huntr.dev/bounties/282807a8-4bf5-4fe2-af62-e05f945b3d65> (exploit, third-party-advisory, web)
- <https://github.com/chocobozzz/peertube/commit/0ea2f79d45b301fcd660efc894469a99b2239bf6> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3780> (advisory)
- <https://github.com/chocobozzz/peertube> (package)

## Sources

- CVE List: [CVE-2021-3780](https://www.cve.org/CVERecord?id=CVE-2021-3780), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-f2c5-997w-7f5c](https://github.com/advisories/GHSA-f2c5-997w-7f5c), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-3780](https://nvd.nist.gov/vuln/detail/CVE-2021-3780), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3780 · Whole record: https://cve.day/CVE-2021-3780.json · Rebuilt by cve.day 2026-11-25T22:58:03.980Z
