{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "13.0.0"
                  },
                  {
                    "fixed": "13.43.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "12.73.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "d214178be8144c729f3318b194d474d0ed042db7"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v12.73.0",
                "range": [
                  {
                    "fixed": "d091054fca4761e109b477bdca364dc93c7fd6df"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "v13.43.0",
                "range": [
                  {
                    "fixed": "72aa7e151062e218704d8660f407e6070040d8bc"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "3e33f431a05365d008742ff8001b92641086d5f8"
            },
            {
              "fixed": "72aa7e151062e218704d8660f407e6070040d8bc"
            },
            {
              "introduced": "0"
            },
            {
              "fixed": "d091054fca4761e109b477bdca364dc93c7fd6df"
            },
            {
              "fixed": "d214178be8144c729f3318b194d474d0ed042db7"
            }
          ],
          "repo": "https://github.com/laravel/framework",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-hv67-wfqj-w9xv"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-83"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142642.json"
  },
  "details": "Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, Blade component attribute bags did not HTML-escape non-Htmlable object values, such as Illuminate\\Support\\Stringable, passed to ComponentAttributeBag::merge() or prepends(). Applications that place user-controlled Stringable values (for example, the result of request()-\u003estring()) into component attributes could allow an attacker to break out of the attribute and inject arbitrary attributes, such as event handlers. This results in cross-site scripting that runs in the origin of the application. This issue is fixed in versions 13.43.0 and 12.73.0.",
  "id": "CVE-2026-142642",
  "modified": "2026-12-02T23:45:58.457054949Z",
  "published": "2026-12-02T22:49:24.109Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142642.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/laravel/framework/commit/d214178be8144c729f3318b194d474d0ed042db7"
    },
    {
      "type": "FIX",
      "url": "https://github.com/laravel/framework/pull/62503"
    },
    {
      "type": "WEB",
      "url": "https://github.com/laravel/framework/releases/tag/v12.73.0"
    },
    {
      "type": "WEB",
      "url": "https://github.com/laravel/framework/releases/tag/v13.43.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/laravel/framework/security/advisories/GHSA-hv67-wfqj-w9xv"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142642"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Laravel: XSS via unescaped Stringable values in Blade component attribute bag"
}