Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Affecting zenstruck/collection package, versions <0.2.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (59th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-ZENSTRUCKCOLLECTION-5777700
  • published16 Jul 2023
  • disclosed14 Jul 2023
  • creditUnknown

Introduced: 14 Jul 2023

CVE-2023-37473  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade zenstruck/collection to version 0.2.1 or higher.

Overview

zenstruck/collection is a collection of helpers for iterating, paginating, filtering collections (with Doctrine ORM/DBAL implementations and batch processing utilities)

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in the EntityRepository::find() and query() functions, which can execute strings passed in as callable strings.

CVSS Base Scores

version 3.1