GHSA-wv8x-3w6r-6h7v

Suggest an improvement
Source
https://github.com/advisories/GHSA-wv8x-3w6r-6h7v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-wv8x-3w6r-6h7v/GHSA-wv8x-3w6r-6h7v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wv8x-3w6r-6h7v
Aliases
Published
2024-08-05T21:29:25Z
Modified
2024-08-06T23:12:03.815141Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
gotortc Cross-site Scripting vulnerability
Details

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.

Database specific
{
    "nvd_published_at": "2024-04-04T15:15:39Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-08-05T21:29:25Z"
}
References

Affected packages

Go / github.com/AlexxIT/go2rtc

Package

Name
github.com/AlexxIT/go2rtc
View open source insights on deps.dev
Purl
pkg:golang/github.com/AlexxIT/go2rtc

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.0