nday
CVE-2026-27119 GHSA-h7h7-mm68-gmrc

Svelte affected by XSS in SSR `<option>` element

sveltejs / svelte

Patch on record 274 days after disclosure. Patched: fixed in svelte 5.51.5. None of the four PoC sources lists it. Not in CISA KEV.

tags weakness typeXSS accessnetworkno user interaction ecosystemnpm
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

XSS
CWE-79, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-h7h7-mm68-gmrc
network
AV:N in CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N (CVSS 4.0) from the CNA GitHub_M
no user interaction
UI:N in CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N (CVSS 4.0) from the CNA GitHub_M
npm
GHSA-h7h7-mm68-gmrc: npm packages svelte
stage
PAT
disclosed
disclosure → patch
T+274d
cvss
5.1 MEDIUM v4.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
02-20T22:25Z
PATpatch
11-21T00:03Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

svelte performance oriented web framework. From 5.39.3, <=5.51.4, in certain circumstances, the server-side rendering output of an <option> element does not properly escape its content, potentially allowing HTML injection in the SSR output. Client-side rendering is not affected. This vulnerability is fixed in 5.51.5.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:H
High: the attacker must evade or get around security measures such as ASLR or DEP, or obtain target-specific secrets
Attack requirements AT:P
Present: success depends on specific deployment or execution conditions, such as a race condition, a non-default setting or a position on the network path
Privileges required PR:H
High: administrative or similar privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N

CVSS 4.0 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 5.1, medium.

src cvelist · nday , bulk import · raw
{
  "id": 414437,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-27119",
  "occurred_at": "2026-02-20T22:25:42.794Z",
  "observed_at": "2026-11-13T05:39:39.00098Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N",
      "version": "4.0",
      "base_score": 5.1,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-02-23T19:41:15.323949Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-02-20T22:25:42.794Z",
    "assigner_short_name": "GitHub_M"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed version svelte 5.51.5. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-h7h7-mm68-gmrc · nday , observed live · raw
{
  "id": 498419,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-h7h7-mm68-gmrc",
  "occurred_at": null,
  "observed_at": "2026-11-21T00:03:22.984947Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-h7h7-mm68-gmrc",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 0.0,
        "vector_string": null
      },
      "cvss_v4": {
        "score": 5.1,
        "vector_string": "CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N"
      }
    },
    "cwes": [
      {
        "name": "Improper Neutralization of Input During Web Page Generation",
        "cwe_id": "CWE-79"
      }
    ],
    "ghsa_id": "GHSA-h7h7-mm68-gmrc",
    "packages": [
      {
        "name": "svelte",
        "ecosystem": "npm",
        "first_patched_version": "5.51.5",
        "vulnerable_version_range": ">= 5.39.3, < 5.51.5"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/sveltejs/svelte/security/advisories/GHSA-h7h7-mm68-gmrc",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-27119",
      "https://github.com/sveltejs/svelte/releases/tag/[email protected]",
      "https://github.com/advisories/GHSA-h7h7-mm68-gmrc"
    ],
    "fix_commit_urls": [],
    "github_reviewed_at": "2026-02-19T15:18:19Z",
    "advisory_updated_at": "2026-11-20T23:52:22Z",
    "source_code_location": "https://github.com/sveltejs/svelte",
    "advisory_published_at": "2026-02-19T15:18:19Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.