CVE-2024-29191Alexxit 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 links page (`links.html`) appends the `src` GET parameter (`[0]`) in all of its links for 1-click previews. The context in which `src` is being appended is `innerHTML` (`[1]`), which will insert the text as HTML. Commit 3b3d5b033aac3a019af64f83dec84f70ed2c8aba contains a patch for the issue.
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-wv8x-3w6r-6h7v, GO-2024-3055). 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.
- github.com Patch
- securitylab.github.com Exploit Third Party Advisory