CVE-2024-29193Alexxit Go2rtc
Medium 6.1 No auth needed
Follow: this CVE · Alexxit · Alexxit Go2rtc We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 37
- Auth required
- No
- Published
- Apr 4, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Go2rtc.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/AlexxIT/go2rtc |
< 1.9.0 |
1.9.0 |
go get github.com/AlexxIT/go2rtc@v1.9.0 |
| Go | github.com/AlexxIT/go2rtc |
< 1.9.0 |
1.9.0 |
go get github.com/AlexxIT/go2rtc@v1.9.0 |
Per OSV / GitHub Advisories (GHSA-rh4r-f7f7-r99m, GO-2024-3053). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| alexxit | go2rtc | ≤ 1.8.5 |
Official sources
References
Links published by the sources. Open them with care.
- securitylab.github.com Exploit Third Party Advisory