Improperly Controlled Modification of Dynamically-Determined Object Attributes Affecting svelte package, versions <5.51.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SVELTE-15322714
  • published20 Feb 2026
  • disclosed19 Feb 2026
  • creditElliott Johnson

Introduced: 19 Feb 2026

NewCVE-2026-27125  (opens in a new tab)
CWE-915  (opens in a new tab)

How to fix?

Upgrade svelte to version 5.51.5 or higher.

Overview

svelte is a package for building web applications.

Affected versions of this package are vulnerable to Improperly Controlled Modification of Dynamically-Determined Object Attributes in server-side rendering when attribute spreading is performed on elements. An attacker can inject unexpected attributes or cause errors in the rendered output by polluting the Object.prototype prior to rendering.

Note:

This is only exploitable if the environment's Object.prototype has already been modified before rendering occurs.

CVSS Base Scores

version 4.0
version 3.1