Vulnerability · Published Mar 28, 2024 · Assigned by GitHub_M
CVE-2024-29882SRS DOM - XSS on JSONP callback
High 7.2
In plain English
A high-severity cross-site scripting in srs from ossrs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities).
Severity (CVSS 3.1)7.2High
Exploit odds (30 days)1.1%top 34.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
SRS is a simple, high-efficiency, real-time video server. SRS's `/api/v1/vhosts/vid-<id>?callback=<payload>` endpoint didn't filter the callback function name which led to injecting malicious javascript payloads and executing XSS ( Cross-Site Scripting). This vulnerability is fixed in 5.0.210 and 6.0.121.
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
References
- https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7 x_refsource_CONFIRM
- https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d x_refsource_MISC