{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-29882",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-03-21T15:12:08.997Z",
        "datePublished": "2024-03-28T13:33:42.500Z",
        "dateUpdated": "2024-08-21T22:48:54.619Z"
    },
    "containers": {
        "cna": {
            "title": "SRS DOM - XSS on JSONP callback",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "lang": "en",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "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"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7"
                },
                {
                    "name": "https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d"
                }
            ],
            "affected": [
                {
                    "vendor": "ossrs",
                    "product": "srs",
                    "versions": [
                        {
                            "version": "< 5.0.210",
                            "status": "affected"
                        },
                        {
                            "version": ">= 6.0.0, < 6.0.121",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-03-28T13:33:42.500Z"
            },
            "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."
                }
            ],
            "source": {
                "advisory": "GHSA-gv9r-qcjc-5hj7",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T01:17:57.982Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7"
                    },
                    {
                        "name": "https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d"
                    }
                ]
            },
            {
                "affected": [
                    {
                        "vendor": "ossrs",
                        "product": "simple_realtime_server",
                        "cpes": [
                            "cpe:2.3:a:ossrs: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"
                            }
                        ]
                    }
                ],
                "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"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-08-21T22:48:54.619Z"
                }
            }
        ]
    }
}