-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Escape text from custom transformTags functions.
This makes custom tag transformations less error-prone. Prior to this patch, tag transformations which turned an attribute value into a text node could be vulnerable to code execution. The operative change prevents any Frame's innerText from specifying tag tokens.
- Loading branch information
1 parent
fb89a71
commit 0fe551c
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
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
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