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

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.09%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-28T13:33:42.500Z
- Modified: 2026-06-17T07:23:17.917Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ossrs srs: < 5.0.210; >= 6.0.0, < 6.0.121
- ossrs simple_realtime_server: before 5.0.210; from 6.0.0 before 6.0.121

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7> (exploit, vendor-advisory)
- <https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d> (patch)

## Sources

- CVE List: [CVE-2024-29882](https://www.cve.org/CVERecord?id=CVE-2024-29882), CVE Terms of Use, modified 2024-08-21
- NVD: [CVE-2024-29882](https://nvd.nist.gov/vuln/detail/CVE-2024-29882), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-29882 · Whole record: https://cve.day/CVE-2024-29882.json · Rebuilt by cve.day 2026-11-25T22:58:38.076Z
