{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2025-27793",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2025-03-06T18:06:54.462Z",
        "datePublished": "2025-03-27T14:07:52.264Z",
        "dateUpdated": "2025-03-27T15:17:18.354Z"
    },
    "containers": {
        "cna": {
            "title": "Vega vulnerable to Cross-site Scripting via RegExp.prototype[@@replace]",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-87",
                            "lang": "en",
                            "description": "CWE-87: Improper Neutralization of Alternate XSS Syntax",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "lang": "en",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "LOW",
                        "subIntegrityImpact": "LOW",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 5.3,
                        "baseSeverity": "MEDIUM",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/vega/vega/security/advisories/GHSA-963h-3v39-3pqf",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/vega/vega/security/advisories/GHSA-963h-3v39-3pqf"
                },
                {
                    "name": "https://github.com/vega/vega/commit/694560c0aa576df8b6c5f0f7d202ac82233e6966",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/vega/vega/commit/694560c0aa576df8b6c5f0f7d202ac82233e6966"
                },
                {
                    "name": "https://github.com/vega/vega/releases/tag/v5.32.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/vega/vega/releases/tag/v5.32.0"
                },
                {
                    "name": "https://vega.github.io/vega/usage/interpreter",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://vega.github.io/vega/usage/interpreter"
                }
            ],
            "affected": [
                {
                    "vendor": "vega",
                    "product": "vega",
                    "versions": [
                        {
                            "version": "< 5.32.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2025-03-27T14:07:52.264Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. In Vega prior to version 5.32.0, corresponding to vega-functions prior to version 5.17.0, users running Vega/Vega-lite JSON definitions could run unexpected JavaScript code when drawing graphs, unless the library was used with the `vega-interpreter`. Vega version 5.32.0 and vega-functions version 5.17.0 fix the issue. As a workaround, use `vega` with expression interpreter."
                }
            ],
            "source": {
                "advisory": "GHSA-963h-3v39-3pqf",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-03-27T15:17:13.409636Z",
                                "id": "CVE-2025-27793",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "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": "2025-03-27T15:17:18.354Z"
                }
            }
        ]
    }
}