GHSA-8qm3-746x-r74r: Devalue Devalue `uneval`ed Code Can Create Vulnerability
LOWGHSA-8qm3-746x-r74r is a LOW devalue `uneval`ed code can create vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Devalue libraries in the npm ecosystem. The issue involves devalue `uneval`ed code can create objects with polluted prototypes when `eval`ed. Remediation is available by upgrading affected packages to version 5.6.3.
GHSA-8qm3-746x-r74r at a Glance
How to Fix GHSA-8qm3-746x-r74r
To remediate this vulnerability, upgrade all affected Devalue dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install devalue@5.6.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls devalue
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-8qm3-746x-r74r, inspect your project dependencies using npm:
npm ls devalue
Analyze the terminal output to locate any version of Devalue in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.6.3), your application is affected.
Note: The npm ls devalue command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In Devalue, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-8qm3-746x-r74r Affected Devalue Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
devalue
|
npm |
< 5.6.3
|
5.6.3
|
References
Frequently Asked Questions
What is GHSA-8qm3-746x-r74r?
Which Devalue versions are affected?
What version fixes GHSA-8qm3-746x-r74r?
Is devalue affected?
What CWE is associated with GHSA-8qm3-746x-r74r?
How can I check npm dependencies for GHSA-8qm3-746x-r74r?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8qm3-746x-r74r",
"modified" : "2026-02-19T20:29:17Z",
"published" : "2026-02-19T20:29:17Z",
"aliases" : [ ],
"summary" : "devalue `uneval`ed code can create objects with polluted prototypes when `eval`ed",
"details" : "Under certain circumstances, `uneval`ing untrusted data can produce output code that will create objects with polluted prototypes when later `eval`ed, meaning the output data can be a different shape from the input data.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "devalue"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.6.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.6.2"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/sveltejs/devalue/security/advisories/GHSA-8qm3-746x-r74r"
}, {
"type" : "WEB",
"url" : "https://github.com/sveltejs/devalue/commit/0f04d4d678eac39ad5d7a07d1956275d7874e81c"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/sveltejs/devalue"
}, {
"type" : "WEB",
"url" : "https://github.com/sveltejs/devalue/releases/tag/v5.6.3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1321" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-19T20:29:17Z",
"nvd_published_at" : null
}
}