New crazy payloads in the URL Validation Bypass Cheat Sheet

Executive Summary

PortSwigger Research released an updated URL Validation Bypass Cheat Sheet that introduces new IP address representations, IPv6 support, and special character encodings. The update includes a payload exploiting a discrepancy in Spring’s UriComponentsBuilder userinfo parsing, which could lead to open redirects or SSRF, and a separate exploit that was patched in the same release. The cheat sheet also adds techniques for CORS bypass, including localhost regex and Safari domain‑splitting attacks. Users are advised to review the new payloads, disable optional features if needed, and keep their validation logic aligned with browser behavior. The article thanks the community for contributions and invites further input via issues or pull requests.

Original Overview

The strength of our URL Validation Bypass Cheat Sheet lies in the contributions from the web security community, and today’s update is no exception. We are excited to introduce a new and improved IP address calculator, inspired by @e1abrador's Encode IP Burp Suite Extension and many more. In addition to the existing ways of representing an IPv4 address, we’ve added the following new formats, supported by Chrome, Firefox, Safari. For example, the cloud metadata IP address 169.254.169.254 can be represented in the following ways: 169.254.43518 Partial Decimal (Class B) format combines the third and fourth parts of the IP address into a decimal number Partial Decimal (Class B) format combines the third and fourth parts of the IP address into a decimal number 169.16689662 Partial Decimal...