NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2024-29193: gotortc Cross-site Scripting vulnerability

mediumCVSS 4.0 5.3 · 3.1 6.1GHSA-rh4r-f7f7-r99m

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.

Published Aug 5, 2024

Affected packages

github.com/AlexxIT/go2rtc

Ecosystem
Go
Affected
< 1.9.0
Fixed in
1.9.0
Check
go list -m github.com/AlexxIT/go2rtc

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries