rmcp is vulnerable to Cross-Site Request Forgery
25
Low Risk
Affected versions of this callback do not support validating a CSRF token by default for the OAuth 2.0 authorization flow. By requiring this as part of the OAuth 2.0 authorization flow, authorization flows are by default secured against cross-site request forgery. This is a breaking change, as it requires the user to pass a CSRF token.
If you've taken other measues against CSRF during the authorization flow, you may not be affected. Otherwise, you may be affected if you use a vulnerable version.
rmcp is vulnerable to Cross-Site Request Forgery in versions 0.1.0 - 0.6.4.
Upgrade the library to the patch version, and pass your generated CSRF token via the handle_callback function (you also need to provide the CSRF token via the state param at the start of the authorization flow).
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant