stripe is vulnerable to Server-Side Request Forgery (SSRF)
45
Medium Risk
The API requestor builds an absolute request URL by concatenating a base address with a caller-supplied path, and no base address ends in a slash. When that path comes from untrusted input and does not begin with a single /, values such as @evil.example/v1/leak or .evil.example/v1/leak change the request authority and redirect the authenticated call, including the Stripe API key, to a non-Stripe host. Event notification and list-pagination code paths feed values taken from response and webhook bodies straight into request paths, and an event id is interpolated into a path without escaping. The fix validates that every request path is origin-relative by rejecting schemes, authorities, and userinfo, and escapes the event id before it is used.
You are affected if you are using a version that falls within the vulnerable range and your application passes untrusted input into a request path or processes event notification or list objects whose url or id fields can be influenced by an untrusted source.
stripe is vulnerable to Server-Side Request Forgery (SSRF) in versions 13.0.0 - 19.6.0.
Upgrade the stripe library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.