CVE-2026-115754

Source
https://cve.org/CVERecord?id=CVE-2026-115754
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-115754.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-115754
Aliases
Downstream
Related
Published
2026-10-23T13:20:43Z
Modified
2026-11-06T17:27:23Z
Severity
  • 2.3 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N CVSS Calculator
Summary
serialize-javascript 7.0.1 before 7.1.3 XSS via unescaped </script in function body
Details

serialize-javascript from 7.0.1 before 7.1.3 contains a cross-site scripting vulnerability that allows attackers to break out of HTML script elements by ending serialized function source text with an unescaped </script. Attackers controlling a function's source via a spoofed toString() can combine surrounding output delimiters and later values to inject live markup such as img onerror handlers.

Database specific
{
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115754.json"
}
References

Affected packages

Git / github.com/yahoo/serialize-javascript

Affected ranges

Type
GIT
Repo
https://github.com/yahoo/serialize-javascript
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "7.0.1"
                },
                {
                    "fixed": "7.1.3"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "fixed": "2864b3c6260a3bfd52d2db3e70d1a079de108a61"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "v7.1.3",
            "range": [
                {
                    "fixed": "4d36b828f7c1c6a1f0de9ef932fefadcca0edace"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

v7.*
v7.0.1
v7.0.2
v7.0.3
v7.0.4
v7.0.5
v7.0.6
v7.0.7
v7.1.0
v7.1.1
v7.1.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-115754.json"