Skip to content

Comments

fix(CVE-2026-1615): Replace jsonpath with jsonpath-plus to fix security vulnerability#247

Open
woo-industries wants to merge 1 commit intoFlagsmith:mainfrom
woo-industries:fix/jsonpath
Open

fix(CVE-2026-1615): Replace jsonpath with jsonpath-plus to fix security vulnerability#247
woo-industries wants to merge 1 commit intoFlagsmith:mainfrom
woo-industries:fix/jsonpath

Conversation

@woo-industries
Copy link

@woo-industries woo-industries commented Feb 23, 2026

The Issue

jsonpath has a security exploit being flagged by snyk and other dependency vulnerability detection tools (GHSA-87r5-mp6g-5w5j)

jsonpath has also not been updated in 12 years, and it's probably time to move to a modern equivalent. JSONPath-Plus is a stand in replacement (for the most part) of jsonpath with a variety of upgrades and regularly maintained. This is also the recommendation from the github advisory.

The solution

  • Replace jsonpath with jsonpath-plus
  • Fix any broken tests
  • Add new tests to ensure the fix is working
  • Add new tests to handle edge case differences between jsonpath and jsonpath-plus

@woo-industries woo-industries marked this pull request as ready for review February 23, 2026 14:52
@woo-industries woo-industries requested a review from a team as a code owner February 23, 2026 14:52
@woo-industries woo-industries requested review from Zaimwa9 and removed request for a team February 23, 2026 14:52
@woo-industries
Copy link
Author

woo-industries commented Feb 23, 2026

I can't get the formatting for the CHANGELOG.md right because it was * style bullets after 6.1.0, but - style before. I just made them all - but if that difference was intentional I'm happy to update.

Also I don't know what to do about the version number for the changelog. Feel free to advise !

I've also squashed this to one commit per your contribution guidance ☮️

@woo-industries woo-industries changed the title fix(CVE-2026-1615): Replace jsonpath with jsonpath-plus fix(CVE-2026-1615): Replace jsonpath with jsonpath-plus to fix security vulnerability Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant