Skip to content

fix: Regular Expression Denial of Service (ReDoS) via $regex query in LiveQuery (GHSA-mf3j-86qx-cq5j)#10120

Merged
mtrezza merged 3 commits intoparse-community:release-8.x.xfrom
mtrezza:fix/GHSA-mf3j-86qx-cq5j-8
Mar 7, 2026
Merged

fix: Regular Expression Denial of Service (ReDoS) via $regex query in LiveQuery (GHSA-mf3j-86qx-cq5j)#10120
mtrezza merged 3 commits intoparse-community:release-8.x.xfrom
mtrezza:fix/GHSA-mf3j-86qx-cq5j-8

Conversation

@mtrezza
Copy link
Member

@mtrezza mtrezza commented Mar 7, 2026

Pull Request

Issue

Regular Expression Denial of Service (ReDoS) via $regex query in LiveQuery (GHSA-mf3j-86qx-cq5j)

Tasks

  • Add tests
  • Add changes to documentation (guides, repository pages, code comments)
  • Add security check
  • Add new Parse Error codes to Parse JS SDK

@parse-github-assistant
Copy link

parse-github-assistant bot commented Mar 7, 2026

🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review.

Note

Please respond to review comments from AI agents just like you would to comments from a human reviewer. Let the reviewer resolve their own comments, unless they have reviewed and accepted your commit, or agreed with your explanation for why the feedback was incorrect.

Caution

Pull requests must be written using an AI agent with human supervision. Pull requests written entirely by a human will likely be rejected, because of lower code quality, higher review effort and the higher risk of introducing bugs. Please note that AI review comments on this pull request alone do not satisfy this requirement.

@coderabbitai
Copy link

coderabbitai bot commented Mar 7, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3784524f-0818-4c59-969b-54211fe066e1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@parseplatformorg
Copy link
Contributor

parseplatformorg commented Mar 7, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@codecov
Copy link

codecov bot commented Mar 7, 2026

Codecov Report

❌ Patch coverage is 87.87879% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.22%. Comparing base (1da3123) to head (50959c9).
⚠️ Report is 3 commits behind head on release-8.x.x.

Files with missing lines Patch % Lines
src/LiveQuery/QueryTools.js 86.20% 4 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                @@
##           release-8.x.x   #10120      +/-   ##
=================================================
- Coverage          92.64%   92.22%   -0.43%     
=================================================
  Files                191      191              
  Lines              15552    15582      +30     
  Branches             177      177              
=================================================
- Hits               14408    14370      -38     
- Misses              1132     1196      +64     
- Partials              12       16       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mtrezza mtrezza changed the title fix: GHSA-mf3j-86qx-cq5j-8 fix: Regular Expression Denial of Service (ReDoS) via $regex query in LiveQuery (GHSA-mf3j-86qx-cq5j) Mar 7, 2026
@mtrezza mtrezza merged commit 42bd2f0 into parse-community:release-8.x.x Mar 7, 2026
22 of 28 checks passed
parseplatformorg pushed a commit that referenced this pull request Mar 7, 2026
## [8.6.11](8.6.10...8.6.11) (2026-03-07)

### Bug Fixes

* Regular Expression Denial of Service (ReDoS) via `$regex` query in LiveQuery ([GHSA-mf3j-86qx-cq5j](https://github.com/parse-community/parse-server/security/advisories/GHSA-mf3j-86qx-cq5j)) ([#10120](#10120)) ([42bd2f0](42bd2f0))
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 8.6.11

@parseplatformorg parseplatformorg added the state:released-8.x.x Released as LTS version label Mar 7, 2026
@mtrezza mtrezza deleted the fix/GHSA-mf3j-86qx-cq5j-8 branch March 7, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:released-8.x.x Released as LTS version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants