# CVE-2021-39183: GO-2022-0291 - Unsafe inline XSS in pasting DOM element into chat in github.com/owncast/owncast

Source: https://junglewise.ai/threats/cve-2021-39183-unsafe-inline-xss-in-pasting-dom-element-into-chat  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-21  
License: CC BY 4.0 with a link back

CVE-2021-39183 · Severity: low · CVSS 3.1 · Published 2024-08-21

Unsafe inline XSS in pasting DOM element into chat in github.com/owncast/owncast

Technologies: [github.com/owncast/owncast (Go)](https://junglewise.ai/threats/technologies/github-com-owncast-owncast). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2021-39183 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-39183 being exploited in the wild.

**How severe is CVE-2021-39183?** Low severity, with a CVSS score of 3.1, published 21 August 2024.

**Which products and versions are affected?** github.com/owncast/owncast (Go) SEMVER:introduced=0,fixed=0.0.9.

**Is there a fix for CVE-2021-39183?** Yes. github.com/owncast/owncast (Go): upgrade to 0.0.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-39183?** Check whether you run github.com/owncast/owncast (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/owncast/owncast (Go): upgrade to 0.0.9 or later

  ```sh
  go get github.com/owncast/owncast@v0.0.9
  ```


## Affected products

- github.com/owncast/owncast (Go) SEMVER:introduced=0,fixed=0.0.9

## Identifiers

- CVE-2021-39183
- GHSA-2hfj-cxw7-g45p
- GO-2022-0291

## Related threats

- [GO-2022-1138 - owncast is vulnerable to SQL Injection in github.com/owncast/owncast](https://junglewise.ai/threats/cve-2022-3751-owncast-is-vulnerable-to-sql-injection)
- [GO-2024-3054 - Owncast Cross-Site Request Forgery vulnerability in github.com/owncast/owncast](https://junglewise.ai/threats/cve-2024-29026-owncast-cross-site-request-forgery-vulnerability)
- [GO-2024-2741 - Owncast Path Traversal vulnerability in github.com/owncast/owncast](https://junglewise.ai/threats/cve-2024-31450-owncast-path-traversal-vulnerability)
- [OwnCast remote code execution vulnerability](https://junglewise.ai/threats/cve-2023-46480-owncast-remote-code-execution-vulnerability)
