What’s Vulnerable › Vulnerabilities

CVE-2024-29882: SRS DOM - XSS on JSONP callback

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

How to fix

Upgrade to a fixed version: ossrs Simple Realtime Server 5.0.210, 6.0.121. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-29882 or the next vulnerability affects your stack