Description
Sveltejs devalue before 5.6.3 contains a prototype pollution vulnerability that allows attackers to alter object prototypes by supplying untrusted data to uneval. When the generated code is later evaluated, it creates objects with polluted prototypes, producing output data whose shape differs from the original input.
Published: 2026-11-08
Score: 2.1 Low
EPSS: < 1% Very Low
KEV: No
Impact: Prototype Pollution
Action: Patch if available
AI Analysis

Impact

Sveltejs Devalue before version 5.6.3 contains a prototype pollution weakness that allows an attacker to supply untrusted data to the uneval function. The generated JavaScript code is later evaluated, creating objects whose prototypes have been altered. This manipulation changes the shape of objects and can lead to unexpected program behavior or exposure of hidden data. The weakness is scored a CVSS score of 2.1, indicating a low severity impact.

Affected Systems

Any deployment that uses the sveltejs:devalue library older than 5.6.3 is affected. Projects that call the uneval routine with data that originates from external or untrusted sources may be vulnerable, as the polluted prototypes will persist when the generated code is executed.

Risk and Exploitability

The CVSS score of 2.1 indicates a low overall risk, and the vulnerability is not listed in the CISA KEV catalog. EPSS data is not provided, so the probability of exploitation is not measured. Based on the description, the likely attack vector is through an application or module that accepts untrusted data, passes it to uneval, and later evaluates the resulting code. Successful exploitation requires only the ability to supply arbitrary input to uneval and does not need elevated privileges, but the resulting prototype pollution can impact application logic. The risk remains low, but developers should consider if the contamination of prototypes could compromise sensitive functionality in their specific use case.

Generated by OpenCVE AI on November 8, 2026 at 02:37 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Devalue to version 5.6.3 or newer
  • Validate or sanitize any data supplied to uneval before it is processed
  • Restrict the evaluation context or replace unsafe eval with a safe evaluation library

Generated by OpenCVE AI on November 8, 2026 at 02:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 08 Nov 2026 01:45:00 +0000

Type Values Removed Values Added
Description Sveltejs devalue before 5.6.3 contains a prototype pollution vulnerability that allows attackers to alter object prototypes by supplying untrusted data to uneval. When the generated code is later evaluated, it creates objects with polluted prototypes, producing output data whose shape differs from the original input.
Title Sveltejs devalue before 5.6.3 Prototype Pollution via uneval Output
First Time appeared Svelte
Svelte devalue
Weaknesses CWE-1321
CPEs cpe:2.3:a:svelte:devalue:*:*:*:*:*:*:*:*
Vendors & Products Svelte
Svelte devalue
References
Metrics cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-08T01:38:06.526Z

Reserved: 2026-11-06T00:53:14.312Z

Link: CVE-2026-123568

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-08T02:16:49.513

Modified: 2026-11-08T02:16:49.513

Link: CVE-2026-123568

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-08T06:15:14Z

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')