Last active
December 17, 2015 21:18
-
-
Save barnabywalters/5673385 to your computer and use it in GitHub Desktop.
Test case for microformats-2 e-* p-* HTML injection potential security hole
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span class="h-thing"> | |
<span class="e-content">< Things > &</span> | |
</span> | |
<span class="h-thing"> | |
<span class="p-content">< Things > &</span> | |
</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"items": [ | |
{ | |
"type": [ | |
"h-thing" | |
], | |
"properties": { | |
"content": [ | |
"< Things > &" | |
], | |
"name": [ | |
"< Things > &" | |
] | |
} | |
}, | |
{ | |
"type": [ | |
"h-thing" | |
], | |
"properties": { | |
"content": [ | |
"< Things > &" | |
], | |
"name": [ | |
"< Things > &" | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment