# Content object state fetch functions open to SQL injection

Source: https://junglewise.ai/threats/content-object-state-fetch-functions-open-to-sql-injection-459494ed  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-09-07  
License: CC BY 4.0 with a link back

Severity: info · Published 2021-09-07

Content object state fetch functions open to SQL injection

Technologies: [ezsystems/ezpublish-legacy (Packagist)](https://junglewise.ai/threats/technologies/ezsystems-ezpublish-legacy). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 7 September 2021.

**Which products and versions are affected?** ezsystems/ezpublish-legacy (Packagist) ECOSYSTEM:introduced=2018.06.0,fixed=2019.03.6.1.

**Is there a fix for This vulnerability?** Yes. ezsystems/ezpublish-legacy (Packagist): upgrade to 2019.03.6.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run ezsystems/ezpublish-legacy (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- ezsystems/ezpublish-legacy (Packagist): upgrade to 2019.03.6.1 or later

  ```sh
  composer require ezsystems/ezpublish-legacy:^2019.03.6.1
  ```


## Affected products

- ezsystems/ezpublish-legacy (Packagist) ECOSYSTEM:introduced=2018.06.0,fixed=2019.03.6.1

## Related threats

- [eZ Systems eZ Publish Legacy SQL injection in dfscleanup](https://junglewise.ai/threats/cve-2026-38739-ez-systems-ez-publish-legacy-sql-injection-in-dfscleanup)
- [Ez Platform Object Injection in legacy shop module](https://junglewise.ai/threats/ez-platform-object-injection-in-legacy-shop-module-9b28f79e)
- [EZsystems Remote code execution in file uploads](https://junglewise.ai/threats/ezsystems-remote-code-execution-in-file-uploads-f6af84c9)
- [Ez Platform and Legacy are prone to an insecure interpretation of PHP/PHAR uploads](https://junglewise.ai/threats/ez-platform-and-legacy-are-prone-to-an-insecure-interpretation-of-php-02603e36)
- [eZ Publish Legacy Passwordless login for LDAP users](https://junglewise.ai/threats/ez-publish-legacy-passwordless-login-for-ldap-users-1c3775a3)
