From 2e730692386144ddfb4d40207905957dfe2fa57c Mon Sep 17 00:00:00 2001 From: Swissky <12152583+swisskyrepo@users.noreply.github.com> Date: Mon, 3 Jun 2024 09:37:24 +0200 Subject: [PATCH] XSS Tel URI --- XSS Injection/README.md | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/XSS Injection/README.md b/XSS Injection/README.md index 3a22514..530dd9a 100644 --- a/XSS Injection/README.md +++ b/XSS Injection/README.md @@ -775,19 +775,31 @@ $ echo "" | xxd 00000010: 6572 7428 3129 0c3e 0a ert(1).>. ``` + ### Bypass email filter -([RFC compliant](http://sphinx.mythic-beasts.com/~pdw/cgi-bin/emailvalidate)) +* [RFC0822 compliant](http://sphinx.mythic-beasts.com/~pdw/cgi-bin/emailvalidate) + ```javascript + ">"@x.y + ``` + +* [RFC5322 compliant](https://0dave.ch/posts/rfc5322-fun/) + ```javascript + xss@example.com() + ``` + + +### Bypass tel URI filter + +At least 2 RFC mention the `;phone-context=` descriptor: + +* [RFC3966 - The tel URI for Telephone Numbers](https://www.ietf.org/rfc/rfc3966.txt) +* [RFC2806 - URLs for Telephone Calls](https://www.ietf.org/rfc/rfc2806.txt) ```javascript -">"@x.y ++330011223344;phone-context= ``` -([RFC5322 compliant](https://0dave.ch/posts/rfc5322-fun/)) - -```javascript -xss@example.com() -``` ### Bypass document blacklist