# CVE-2022-29823: Feather-Sequelize cleanQuery prototype pollution

Source: https://junglewise.ai/threats/cve-2022-29823-feather-sequelize-cleanquery-prototype-pollution  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-10-26. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2022-29823 · Severity: low · CVSS 3.1 · Published 2022-10-26

Feather-Sequelize is a database integration library for the Feathers.js application framework. A flaw in its query filtering allows attackers to inject malicious code that executes with the privileges of the running application, potentially compromising database access and application logic.

Technologies: [feathers-sequelize (npm)](https://junglewise.ai/threats/technologies/feathers-sequelize). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2022-29823 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-29823 being exploited in the wild.

**How severe is CVE-2022-29823?** Low severity, with a CVSS score of 3.1, published 26 October 2022.

**Which products and versions are affected?** Feather-Sequelize 6.0.0 to 6.3.2; feathers-sequelize (npm) SEMVER:introduced=6.0.0,fixed=6.3.3.

**Is there a fix for CVE-2022-29823?** Yes. feathers-sequelize (npm): upgrade to 6.3.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2022-29823 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2022-29823?** Check whether you run Feather-Sequelize or feathers-sequelize (npm) 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

- feathers-sequelize (npm): upgrade to 6.3.3 or later

  ```sh
  npm install feathers-sequelize@6.3.3
  ```


## Technical details

The cleanQuery method in Feather-Sequelize uses insecure recursive logic to filter unsupported keys from query objects, enabling prototype pollution attacks (CWE-1321). An attacker can craft malicious query objects that pollute the prototype chain of JavaScript objects, leading to Remote Code Execution (RCE) with application privileges. The attack requires network access to the application's query interface and no authentication or user interaction. The vulnerability affects versions 6.0.0 through 6.3.2 and was fixed in version 6.3.3.

## Affected products

- Feather-Sequelize Feather-Sequelize 6.0.0 to 6.3.2

## Identifiers

- CVE-2022-29823
- GHSA-p5m3-27vh-52j4

## Timeline

- 2022-10-26: disclosed
- 2022-10-31: patched: Fixed in version 6.3.3

## References

- [https://github.com/feathersjs-ecosystem/feathers-sequelize/commit/0b7beaa773dc313fdb27edd9ee8115064d7cf114](https://github.com/feathersjs-ecosystem/feathers-sequelize/commit/0b7beaa773dc313fdb27edd9ee8115064d7cf114)

## Related threats

- [feathers-sequelize SQL injection in attribute filtering](https://junglewise.ai/threats/cve-2022-29822-feathers-sequelize-sql-injection-in-attribute-filtering)
- [feathers-sequelize SQL injection via improper input validation](https://junglewise.ai/threats/cve-2022-2422-feathers-sequelize-sql-injection-via-improper-input-validation)
