---
id: GHSA-85pr-xr59-r75h
title: >-
  Duplicate Advisory: SvelteKit before 3.0.0 XSS via Cache-Control Header in
  Prerendered Pages
summary: >-
  Duplicate Advisory: SvelteKit before 3.0.0 XSS via Cache-Control Header in
  Prerendered Pages
severity: low
cvss: 4.7
cwe:
  - CWE-79
vendor: sveltejs
product: '@sveltejs/kit'
ecosystem: npm
affected:
  - '@sveltejs/kit < 3.0.0'
published: '2026-10-21'
updated: '2026-10-23'
sourceUpdated: '2026-10-23T20:43:08Z'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-85pr-xr59-r75h'
references:
  - url: 'https://github.com/sveltejs/kit/security/advisories/GHSA-27mw-82g8-phjj'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-114061'
  - url: >-
      https://www.vulncheck.com/advisories/sveltekit-before-3.0.0-xss-via-cache-control-header-in-prerendered-pages
  - url: 'https://github.com/advisories/GHSA-85pr-xr59-r75h'
tags:
  - ghsa
  - npm
ingestedAt: '2026-10-23T21:38:13.046Z'
---

## Overview

## Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-27mw-82g8-phjj. This link is maintained to preserve external references.

## Original Description
SvelteKit (@sveltejs/kit) before 3.0.0 contains a cross-site scripting vulnerability in prerendered pages because a cache-control header value set via setHeaders is inserted without escaping into a <meta http-equiv="cache-control"> tag. An attacker who can influence that untrusted value at prerender time can break out of the content attribute and inject HTML or JavaScript that executes when users visit the page.

## Affected packages

- `@sveltejs/kit < 3.0.0`

## Remediation

Refer to the advisory for the patched release.
