CVE-2022-31112: parse-server - Protected fields exposed via LiveQuery

parse-server Updated 02 Oct 2025

Summary

06/07/2022
Yes i
High
8.2

CVE-2022-31112: Protected fields exposed via LiveQuery. Affects parse-server across 2 version ranges.

< 4.10.13 >= 5.0.0, < 5.2.4

Fixed in 4.10.13 or 5.2.4, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2022-31112 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

parse-server is an open-source backend framework that provides a scalable and flexible platform for building applications. It includes features such as data storage, user authentication, and push notifications. LiveQuery is a real-time subscription feature in parse-server that allows clients to receive updates in real-time when data changes in the database. However, a vulnerability has been discovered in parse-server LiveQuery where protected fields in classes are not properly removed, leading to their exposure to clients.

Vulnerability Detail

The vulnerability in parse-server LiveQuery allows protected fields in classes to be passed to the client, even though they should be hidden. This can potentially expose sensitive information that should not be accessible to clients. An attacker could exploit this vulnerability to gain unauthorized access to protected data or perform other malicious actions. The impact of this vulnerability is considered HIGH with a CVSS score of 8.2.

How To Fix

Latest published version: 9.10.5 as of 22 Oct 2026

npm install parse-server@9.10.5

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 4.10.13 4.10.13
    npm install parse-server@4.10.13
  • >= 5.0.0, < 5.2.4 5.2.4
    npm install parse-server@5.2.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If updating parse-server is not immediately feasible, a workaround is available. Developers can use the Parse.Cloud.afterLiveQueryEvent function to manually remove protected fields from the client response. This can be done by accessing the response object and removing any fields that should not be exposed to clients. Here is an example of how to implement this workaround:

Parse.Cloud.afterLiveQueryEvent((request) => {
  const response = request.response;
  // Remove protected fields from response
  delete response.protectedField1;
  delete response.protectedField2;
  // Return modified response
  return response;
});

Conclusion

The vulnerability in parse-server LiveQuery exposes protected fields to clients, potentially leading to unauthorized access or other malicious actions. It is crucial to update parse-server to the recommended versions or apply the provided workaround to mitigate this vulnerability. Regularly updating parse-server is essential to stay protected against known vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for parse-server →

Share this vulnerability

FAQ

parse-server is an open-source backend framework that provides a scalable and flexible platform for building applications. It includes features such as data storage, user authentication, and push notifications.

LiveQuery is a real-time subscription feature in parse-server that allows clients to receive updates in real-time when data changes in the database.

The impact of this vulnerability is considered HIGH with a CVSS score of 8.2. It can potentially expose sensitive information that should not be accessible to clients, leading to unauthorized access or other malicious actions.

To fix this vulnerability, it is recommended to update parse-server to version 4.10.13 or later for versions 4.x.x, and to version 5.2.4 or later for versions 5.x.x. Updating to these versions will ensure that protected fields are properly removed from the client response in LiveQuery.

Yes, a workaround is available if updating parse-server is not immediately feasible. Developers can use the Parse.Cloud.afterLiveQueryEvent function to manually remove protected fields from the client response.

Related vulnerabilities

Recent vulnerabilities recorded for parse-server.

How To Fix

Latest published version: 9.10.5 as of 22 Oct 2026

npm install parse-server@9.10.5

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 4.10.13 4.10.13
    npm install parse-server@4.10.13
  • >= 5.0.0, < 5.2.4 5.2.4
    npm install parse-server@5.2.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback