Description
Sveltejs devalue before 5.6.4 contains a prototype injection vulnerability that allows attackers to inject __proto__ own properties into objects returned by devalue.parse and devalue.unflatten. Attackers can supply crafted serialized input that, when downstream code merges results via Object.assign, alters the target object's prototype.
Published: 2026-11-08
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Prototype Injection
Action: Patch
AI Analysis

Impact

The vulnerability manifests when devalue.parse or devalue.unflatten processes crafted serialized input. It allows attackers to inject properties onto the __proto__ object, effectively altering the prototype chain of the objects returned by the library. This prototype pollution can affect any subsequent use of these objects, such as when code merges them with Object.assign. The primary impact is the manipulation of object prototypes that may lead to unexpected behavior or compromise in code that relies on consistent prototypes. The weakness is classified as CWE-1321.

Affected Systems

The affected product is the devalue library maintained by the sveltejs project. Versions prior to 5.6.4 are vulnerable. Applications that import devalue before this release and process untrusted or user‑supplied data are at risk. The vendor’s product name is devalue, and any project using this library should check the installed version.

Risk and Exploitability

The CVSS v3 score of 6.3 indicates a medium severity risk. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers must provide forged serialized input to devalue.parse or devalue.unflatten, and the impact will materialize when downstream code merges the resulting object with Object.assign or similar operations that propagate the polluted __proto__ properties. Because prototype pollution can lead to more serious effects depending on application logic, the risk escalates in contexts where the application trusts the returned object chain. Overall, the exploitation likelihood is moderate given the lack of publicly known exploitability data.

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.4 or later, which removes the prototype injection flaw.
  • If an upgrade is not immediately possible, avoid parsing untrusted input with devalue.parse or devalue.unflatten; validate or sanitize the input before feeding it to the library.
  • Audit any code that merges devalue output with Object.assign or similar operations and implement checks to ensure that __proto__ properties are not propagated.

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.4 contains a prototype injection vulnerability that allows attackers to inject __proto__ own properties into objects returned by devalue.parse and devalue.unflatten. Attackers can supply crafted serialized input that, when downstream code merges results via Object.assign, alters the target object's prototype.
Title Sveltejs devalue before 5.6.4 Prototype Injection via parse and unflatten
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': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'}

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

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

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

Link: CVE-2026-123567

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-123567

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-1321

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