CVEvulnerability
CVE-2024-29882
6.1 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-03-28
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.2 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
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 configurations
• ossrs simple realtime server (< 5.0.210)
• ossrs simple realtime server (>= 6.0.0 < 6.0.121)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d Patch
- https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7 Exploit, Vendor Advisory
- https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d Patch
- https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7 Exploit, Vendor Advisory