{"id":"CVE-2024-29882","state":"PUBLISHED","title":"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.","publishedAt":"2024-03-28T13:33:42.500Z","updatedAt":"2024-08-21T22:48:54.619Z","severity":{"score":7.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["ossrs srs"],"affected":[{"vendor":"ossrs","product":"srs","versions":[{"version":"< 5.0.210","status":"affected"},{"version":">= 6.0.0, < 6.0.121","status":"affected"}]}],"references":["https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7","https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/29xxx/CVE-2024-29882.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-29882","state":"PUBLISHED","datePublished":"2024-03-28T13:33:42.500Z","dateUpdated":"2024-08-21T22:48:54.619Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-03-21T15:12:08.997Z"},"containers":{"cna":{"title":"SRS DOM - XSS on JSONP callback","descriptions":[{"lang":"en","value":"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":[{"vendor":"ossrs","product":"srs","versions":[{"version":"< 5.0.210","status":"affected"},{"version":">= 6.0.0, < 6.0.121","status":"affected"}]}],"references":[{"url":"https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7","name":"https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d","name":"https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.2,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-03-28T13:33:42.500Z"},"source":{"advisory":"GHSA-gv9r-qcjc-5hj7","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7","name":"https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d","name":"https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T01:17:57.982Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"ossrs","product":"simple_realtime_server","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"5.0.210","versionType":"custom"},{"version":"6.0.0","status":"affected","lessThan":"6.0.121","versionType":"custom"}],"cpes":["cpe:2.3:a:ossrs:simple_realtime_server:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-03-28T19:14:27.345737Z","id":"CVE-2024-29882","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-21T22:48:54.619Z"}}]}}}