CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2026-42599

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 5.1 · medium

Cross-site scripting via spread attributes in Svelte SSR

Svelte is a performance oriented web framework. Prior to version 5.55.7, when using spread syntax to render attributes from untrusted data, event handler properties are included in the rendered HTML output. If an application spreads user-controlled or external data as element attributes, an attacker can inject malicious event handlers that execute in victims' browsers. Note that this vulnerability only triggers if the user's browser has JavaScript enabled but Svelte's hydration mechanism does not reach the vulnerable element before the event fires. This issue has been patched in version 5.55.7.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.205% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 5.1 · published by GitHub_M
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
Assessment source · checked 2026-11-19T12:58:34.423Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:57:41.748ZCISA KEV
cvssverified2026-11-19T12:58:34.423ZCVE Program
epssverified2026-11-19T16:04:50.495ZFIRST EPSS
patchesverified2026-11-19T12:52:29.421ZOSV
affectedverified2026-11-19T12:58:34.423ZCVE Program
lifecycleverified2026-11-19T12:58:34.423ZCVE Program

Affected versions and configuration

sveltejs svelte; default status: unknown: < 5.55.7 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "sveltejs",
      "product": "svelte",
      "versions": [
        {
          "status": "affected",
          "version": "< 5.55.7"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-42599",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-06-09T18:28:29.530383Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-06-09T18:39:04.806Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-pr6f-5x2q-rwfp",
  "aliases": [
    "CVE-2026-42599"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.55.7"
            }
          ]
        }
      ],
      "package": {
        "name": "svelte",
        "purl": "pkg:npm/svelte",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-pr6f-5x2q-rwfp/GHSA-pr6f-5x2q-rwfp.json",
        "last_known_affected_version_range": "<= 5.55.6"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/sveltejs/svelte/security/advisories/GHSA-pr6f-5x2q-rwfp",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-27121",
      "type": "ADVISORY"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42599",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/sveltejs/svelte",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": "2026-06-09T17:17:07Z",
    "github_reviewed_at": "2026-05-14T20:19:42Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / packagesvelteNot a distribution channel5.55.7Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history