{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "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"
              }
            ]
          },
          "events": [
            {
              "introduced": "f7fff15630a450dfcbcb88d33f7dc30b4f1e41f8"
            },
            {
              "fixed": "4d36b828f7c1c6a1f0de9ef932fefadcca0edace"
            },
            {
              "fixed": "2864b3c6260a3bfd52d2db3e70d1a079de108a61"
            }
          ],
          "repo": "https://github.com/yahoo/serialize-javascript",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-m5mm-p8h7-m29v"
  ],
  "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"
  },
  "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 \u003c/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.",
  "id": "CVE-2026-115754",
  "modified": "2026-10-28T02:31:03.991209023Z",
  "published": "2026-10-23T13:20:43.932Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115754.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/yahoo/serialize-javascript/releases/tag/v7.1.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/yahoo/serialize-javascript/security/advisories/GHSA-m5mm-p8h7-m29v"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-115754"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/serialize-javascript-7.0.1-before-7.1.3-xss-via-unescaped-script-in-function-body"
    },
    {
      "type": "FIX",
      "url": "https://github.com/yahoo/serialize-javascript/commit/2864b3c6260a3bfd52d2db3e70d1a079de108a61"
    },
    {
      "type": "FIX",
      "url": "https://github.com/yahoo/serialize-javascript/pull/235"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/yahoo/serialize-javascript"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "serialize-javascript 7.0.1 before 7.1.3 XSS via unescaped \u003c/script in function body"
}