# CVE-2024-29193: GHSL-2023-207 gotortc DOM-based Cross-site Scripting vulnerability

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- 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.45%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-04-04T18:35:28.817Z
- Modified: 2026-06-17T07:22:36.100Z
- Also known as: GHSA-rh4r-f7f7-r99m, GO-2024-3053
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

gotortc is a camera streaming application. Versions 1.8.5 and prior are vulnerable to DOM-based cross-site scripting. The index page (`index.html`) shows the available streams by fetching the API in the client side. Then, it uses `Object.entries` to iterate over the result whose first item (`name`) gets appended using `innerHTML`. In the event of a victim visiting the server in question, their browser will execute the request against the go2rtc instance. After the request, the browser will be redirected to go2rtc, in which the XSS would be executed in the context of go2rtc’s origin. As of time of publication, no patch is available.

(As written by CVE List.)

## Affected

- AlexxIT go2rtc: <= 1.8.5; up to 1.8.5
- github.com/AlexxIT/go2rtc (Go): before 1.9.0

## Every score

- GitHub_M: 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`
- 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`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`

## References

- <https://securitylab.github.com/advisories/GHSL-2023-205_GHSL-2023-207_go2rtc/> (exploit, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-29193> (advisory)
- <https://github.com/AlexxIT/go2rtc/commit/3b3d5b033aac3a019af64f83dec84f70ed2c8aba> (fix, web)
- <https://github.com/AlexxIT/go2rtc> (package)
- <https://securitylab.github.com/advisories/GHSL-2023-205_GHSL-2023-207_go2rtc> (advisory)
- <https://github.com/advisories/GHSA-rh4r-f7f7-r99m> (advisory)

## Sources

- CVE List: [CVE-2024-29193](https://www.cve.org/CVERecord?id=CVE-2024-29193), CVE Terms of Use, modified 2024-08-13
- GitHub Advisory Database: [GHSA-rh4r-f7f7-r99m](https://github.com/advisories/GHSA-rh4r-f7f7-r99m), CC-BY-4.0, modified 2024-08-06
- Go Vulnerability Database: [GO-2024-3053](https://pkg.go.dev/vuln/GO-2024-3053), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-29193](https://nvd.nist.gov/vuln/detail/CVE-2024-29193), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-29193 · Whole record: https://cve.day/CVE-2024-29193.json · Rebuilt by cve.day 2026-11-25T22:58:38.774Z
