Skip to content

Request: backport fix to v7 for GHSA-qwww-vcr4-c8h2 #15348

Closed

Description

@Verthon

Reproduction

Hello Team

The latest v7 version suffers from the GHSA-qwww-vcr4-c8h2 could you please consider backporting it to v7 ? Thank you.

System Info

System:
    OS: macOS 26.5.2
    CPU: (10) arm64 Apple M1 Max
    Memory: 107.02 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.11.0
    npm: 11.6.2
    pnpm: 10.12.1
  Browsers:
    Chrome: 150.0.7871.186
    Firefox: 153.0
    Safari: 26.5.2

Used Package Manager

pnpm

Expected Behavior

GHSA-qwww-vcr4-c8h2 is patched in the v7 version

Actual Behavior

GHSA-qwww-vcr4-c8h2 is not patched in v7 version

Activity

  1. cjz9032 commented on Jul 27, 2026

    @cjz9032

    same issue here, please help to fix the issue

    `npm audit report

    react-router 7.12.0 - 8.2.0
    Severity: high
    React Router: RSC Mode CSRF Bypass Allows Action Execution Before 400 Response - GHSA-qwww-vcr4-c8h2
    fix available via npm audit fix --force
    Will install react-router@8.3.0, which is a breaking change
    node_modules/react-router

    1 high severity vulnerability`

  2. nickwb commented on Jul 27, 2026

    @nickwb

    Agreed, this currently forces a major version bump to react 19, we would be very thankful for a backport

  3. omgovich commented on Jul 27, 2026

    @omgovich
  4. verbetchii commented on Jul 27, 2026

    @verbetchii

    The same issue, only pnpm ignore audit saved me
    Please fix

  5. miguelzapataj commented on Jul 27, 2026

    @miguelzapataj

    Hi Team,

    Is there an expected date for this issue to be resolved?

  6. rdevault-propel commented on Jul 27, 2026

    @rdevault-propel
  7. fhanggi commented on Jul 27, 2026

    @fhanggi

    Hi
    Please fix this in 7 and don't force us to go 8 which forces us to upgrade to react 19

  8. rdevault-propel commented on Jul 27, 2026

    @rdevault-propel

    Hi Please fix this in 7 and don't force us to go 8 which forces us to upgrade to react 19

    I am not part of the dev team for this. I indirectly created a link here by accident when I referenced this issue in an unrelated PR to make changes.

  9. Neevea8880 commented on Jul 28, 2026

    @Neevea8880

    I'm facing the same issue as well. Upgrading to React Router v8 isn't an option for us at the moment since it requires moving to React 19. Is there any update on whether this fix will be backported to the v7, or an estimated timeline for the release? Thanks!

  10. ccMatrix commented on Jul 28, 2026

    @ccMatrix

    I've tried to cherry pick the commit from the main branch that fixes the issue (#15311) and apply it to the v7branch. The fix could be applied and from what I can see the code did not change between v7 and v8 so the exact same fix should be compatible.

    So it does look like a backport is possible. The question is just when a contributor or owner has the time to do it, test it and create a new v7 release.

    Maybe @jacob-ebey who created the v8 PR could have a look? That would be very much appreciated :)

  11. jrestall commented on Jul 28, 2026

    @jrestall
    Contributor

    According to the security policy 7.x will get security updates. If someone has time to create a PR that might help the team.

    https://github.com/remix-run/react-router/security#security-policy

  12. miguelzapataj commented on Jul 28, 2026

    @miguelzapataj

    Hi @jacob-ebey

    Could you take a look? It would be much appreciated!

  13. brookslybrand commented on Jul 28, 2026

    @brookslybrand
    Contributor

    Hey all, just so it's clear this security issue is only for the unstable RSC features, as mentioned in the advisory:

    This only affects your application if you are using the unstable RSC APIs

    I'll surface this to the team, but I believe that's the reason we didn't backport this to v7: this is a security issue with an unstable feature. If you are shipping unstable RSC features to prod you should update to v8. If you are not using our unstable RSC features you are not vulnerable.

  14. ccMatrix commented on Jul 28, 2026

    @ccMatrix

    Unfortunately it affects the build pipeline when checking if any version has known vulnerabilities. The audit commands don't differentiate about used or unused code of the package, it just sees an advisory and fails. So a fix is useful to all users that run v7 and have strict audit checks in the build pipeline. Even if hardly anybody will use the affected experimental feature.

  15. brookslybrand commented on Jul 28, 2026

    @brookslybrand
    Contributor

    Alright, backported in #15353

    I also updated the ranges on our advisory. I believe GHSA-qwww-vcr4-c8h2 should pick that up and unblock everyone. I'll keep this open until then.

  16. miguelzapataj commented on Jul 29, 2026

    @miguelzapataj

    Hi @brookslybrand

    Thank you so much!!!

    I have a quick question. This one is still flagged for me: GHSA-qwww-vcr4-c8h2

    Is there a step needed to pick up the new version and avoid the vulnerability?

  17. brookslybrand commented on Jul 29, 2026

    @brookslybrand
    Contributor

    Hi @brookslybrand

    Thank you so much!!!

    I have a quick question. This one is still flagged for me: GHSA-qwww-vcr4-c8h2

    Is there a step needed to pick up the new version and avoid the vulnerability?

    Yeah, I'm having the same question. I opened up a PR to update GitHub's advisory which is what impacts these audits and automatic fixes. Hopefully this PR gets merged soon: github/advisory-database#8868

  18. fhanggi commented on Jul 30, 2026

    @fhanggi

    Hi @brookslybrand
    Thank you so much!!!
    I have a quick question. This one is still flagged for me: GHSA-qwww-vcr4-c8h2
    Is there a step needed to pick up the new version and avoid the vulnerability?

    Yeah, I'm having the same question. I opened up a PR to update GitHub's advisory which is what impacts these audits and automatic fixes. Hopefully this PR gets merged soon: github/advisory-database#8868

    Could this please be prioritized? i cannot deploy anything anymore. 10 of my apps are stuck with other vulnerabilities but this one forces me to go to react-router 8 which forces me to react 19 which is a no go. if you could please make 7.18.2 fix the vulnerability that would be great. thank you very much.

  19. brookslybrand commented on Jul 30, 2026

    @brookslybrand
    Contributor

    @fhanggi I'm not sure what else I can do, this is in GitHub's hands to merge this update: github/advisory-database#8868

    Also, you're not blocked. 7.18.2 does fix the vulnerability, and you were only vulnerable previously if you used the unstable APIs. This is just causing problems with audit commands, which you can always override.

  20. fhanggi commented on Jul 30, 2026

    @fhanggi

    @fhanggi I'm not sure what else I can do, this is in GitHub's hands to merge this update: github/advisory-database#8868

    Also, you're not blocked. 7.18.2 does fix the vulnerability, and you were only vulnerable previously if you used the unstable APIs. This is just causing problems with audit commands, which you can always override.

    Thank you for the reply. I cannot disable the audit steps in our pipelines to go to production. This is out of my hands. They all fail now. So if the github advisory could be fixed that would be awesome. But i understand you are saying you are not in charge of accepting the fix for the advisory part. i will just have to wait for that. Thank you very much.

  21. mojiAh commented on Jul 31, 2026

    @mojiAh

    @brookslybrand Any plan to backport it to V6?

  22. ccMatrix commented on Jul 31, 2026

    @ccMatrix

    @brookslybrand Any plan to backport it to V6?

    The advisory is for v7 and v8 only. Since v6 is not affected by it, there is no reason for a backport.

  23. shubhankarmalik commented on Jul 31, 2026

    @shubhankarmalik

    @brookslybrand Any plan to backport it to V6?

    react-router-dom Version v6.30.4 also has the vulnerability.
    https://socket.dev/npm/package/react-router-dom/alerts/6.30.4?alert_name=mediumCVE

    This is the open issue.
    #15344

  24. brookslybrand commented on Jul 31, 2026

    @brookslybrand
    Contributor

    No @mojiAh and @shubhankarmalik

    1. v6 is end of life: https://github.com/remix-run/react-router/security#supported-versions
    2. This absolutely does not effect v6, we did not have have these APIs in v6 and the advisory only covers v7 and v8 ranges: GHSA-qwww-vcr4-c8h2

    @shubhankarmalik you linked to an unrelated issue. That link links to GHSA-jjmj-jmhj-qwj2, so please don't continue discussions about unrelated issues in this thread.

  25. brookslybrand commented on Aug 4, 2026

    @brookslybrand
    Contributor

    I'm closing this issue since we fixed this in 7.18.2. It's on GitHub advisory to merge this PR at this point to get the ranges updated/propagated: github/advisory-database#8868

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions