{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-116582",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-10-26T15:03:39.035Z",
        "datePublished": "2026-10-26T20:46:46.069Z",
        "dateUpdated": "2026-10-26T20:46:46.069Z"
    },
    "containers": {
        "cna": {
            "title": "Seroval: Script injection through RegExp sources in serialized output",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "lang": "en",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-116",
                            "lang": "en",
                            "description": "CWE-116: Improper Encoding or Escaping of Output",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 4.7,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "CHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-9wx9-5pv9-3349",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-9wx9-5pv9-3349"
                },
                {
                    "name": "https://github.com/lxsmnsyc/seroval/commit/f94ee0b63936dae954ff50d5b5e8ea7cb9b284e6",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/lxsmnsyc/seroval/commit/f94ee0b63936dae954ff50d5b5e8ea7cb9b284e6"
                },
                {
                    "name": "https://github.com/lxsmnsyc/seroval/releases/tag/seroval@1.6.10",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/lxsmnsyc/seroval/releases/tag/seroval@1.6.10"
                }
            ],
            "affected": [
                {
                    "vendor": "lxsmnsyc",
                    "product": "seroval",
                    "versions": [
                        {
                            "version": "< 1.0.0",
                            "status": "affected"
                        },
                        {
                            "version": ">= 1.5.5, < 1.6.10",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-10-26T20:46:46.069Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.0.0 and from 1.5.5 until 1.6.10, the JavaScript-output APIs serialize a RegExp source containing a less-than character without the escaping needed for an HTML script element. An application is affected when it builds regular expression syntax from untrusted input, serializes that RegExp through serialize, serializeAsync, crossSerialize, crossSerializeAsync, crossSerializeStream, Serializer, or compileJSON, and embeds the result in an HTML script element. The crafted source can terminate the element and execute script in the page received by another user. This issue is fixed in version 1.6.10."
                }
            ],
            "source": {
                "advisory": "GHSA-9wx9-5pv9-3349",
                "discovery": "UNKNOWN"
            }
        }
    }
}