### [CVE-2024-29882](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-29882) ![](https://img.shields.io/static/v1?label=Product&message=srs&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%205.0.210%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%3A%20Improper%20Neutralization%20of%20Input%20During%20Web%20Page%20Generation%20('Cross-site%20Scripting')&color=brighgreen) ### Description SRS is a simple, high-efficiency, real-time video server. SRS's `/api/v1/vhosts/vid-?callback=` 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. ### POC #### Reference - https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7 #### Github - https://github.com/fkie-cad/nvd-json-data-feeds