austintoddj/canvas is vulnerable to Server-Side Request Forgery (SSRF)
85
High Risk
Canvas validates webhook URLs through WebhookUrlValidator, whose ipIsPublic() check delegates to PHP filter_var with FILTER_FLAG_NO_PRIV_RANGE and FILTER_FLAG_NO_RES_RANGE. That check does not extract IPv4 addresses embedded in IPv6 transition literals, so a webhook host given as a 6to4 or NAT64 address that encodes a private, loopback, or link-local IPv4 target is treated as public. A user who can configure a webhook can make the server send requests to internal services, loopback ports, or cloud metadata endpoints. The fix unwraps IPv4-mapped IPv6 addresses and rejects IPv6 transition and special-use ranges before the public-address check.
You are affected if you run a version within the vulnerable range and use the outbound webhook integration, where a user-controlled webhook URL is validated before the server sends requests to it.
austintoddj/canvas is vulnerable to Server-Side Request Forgery (SSRF) in versions 7.0.0 - 7.0.0.
Upgrade the austintoddj/canvas 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