# CVE-2021-39183: Unsafe inline XSS Owncast

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/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.77%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-14T20:05:12.000Z
- Modified: 2026-07-08T06:27:31.747Z
- Also known as: GHSA-2hfj-cxw7-g45p, GO-2022-0291
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## Description

Owncast is an open source, self-hosted live video streaming and chat server. In affected versions inline scripts are executed when Javascript is parsed via a paste action. This issue is patched in 0.0.9 by blocking unsafe-inline Content Security Policy and specifying the script-src. The worker-src is required to be set to blob for the video player.

(As written by CVE List.)

## Affected

- owncast owncast: < 0.0.9
- github.com/owncast/owncast (Go): before 0.0.9
- owncast_project owncast: before 0.0.9

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:L`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:L`
- 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://github.com/owncast/owncast/security/advisories/GHSA-2hfj-cxw7-g45p> (exploit, advisory, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39183> (advisory)
- <https://github.com/owncast/owncast> (package)

## Sources

- CVE List: [CVE-2021-39183](https://www.cve.org/CVERecord?id=CVE-2021-39183), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-2hfj-cxw7-g45p](https://github.com/advisories/GHSA-2hfj-cxw7-g45p), CC-BY-4.0, modified 2026-07-08
- Go Vulnerability Database: [GO-2022-0291](https://pkg.go.dev/vuln/GO-2022-0291), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2021-39183](https://nvd.nist.gov/vuln/detail/CVE-2021-39183), Public domain, modified 2026-06-17

---

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