GHSA-wv8x-3w6r-6h7v is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in github.com/AlexxIT/go2rtc. A fix is available for github.com/AlexxIT/go2rtc — see the affected versions and patch details below.
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
Exploitation and automatability from CISA’s SSVC triage for GHSA-wv8x-3w6r-6h7v.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/AlexxIT/go2rtcReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/AlexxIT/go2rtc | all versions | 1.9.0go get github.com/AlexxIT/go2rtc@v1.9.0 |
Affected Products
go2rtcalexxitDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/AlexxIT/go2rtc, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/AlexxIT/go2rtc to 1.9.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-wv8x-3w6r-6h7v is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is GHSA-wv8x-3w6r-6h7v in your dependencies?
Find it across Go, including transitive dependencies.