fix: Add stricter URL validation to openURLMiddleware#2697
fix: Add stricter URL validation to openURLMiddleware#2697huntie merged 1 commit intoreact-native-community:mainfrom
Conversation
|
Thanks! Feel free to merge |
484e42a to
d003eab
Compare
|
d003eab: Remove |
|
@huntie @szymonrybczak can we have a fix for this in v15 as well please? I would appreciate that a lot! |
|
@benomatis 15.x wasn't affected by this security vulnerability, since it has already URL validation |
|
@szymonrybczak the CVE communication I read about this (maybe I use wrong sources) says this:
so is this an incorrect statement? what would be a reliable source of information on the CVE? My source: https://jfrog.com/blog/cve-2025-11953-critical-react-native-community-cli-vulnerability/ This originally reached me via a GitHub dependabot alert: GHSA-399j-vxmf-hjvr |
|
Take a look at my response: https://x.com/szymonrybczak/status/1986199665000566848?s=46 the "official" is a bit wrong |
|
@szymonrybczak This issue was created, I think many people will cross it Can you go there and explain your thoughts! It would be awesome understanding why this was flagged now and is wrong |
|
@tommasini good point, thank you for suggesting it! I'll report our findings there too 👍 |
|
@szymonrybczak how can this reach GitHub so that dependabot doesn't report it and create panic? |
Summary
References
Test Plan
Invalid URL
✅ Blocked
Sanity check — regular URL
✅ OK
✅ Opens web browser
Checklist
react-nativecheckout (instructions).