Skip to content

Commit

Permalink
Merge pull request #86 from slovdahl/script-tag-in-style
Browse files Browse the repository at this point in the history
Test for script tag inside style
  • Loading branch information
bgalek authored Sep 16, 2024
2 parents 00546f7 + 79837a6 commit 62f59b5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ private static Stream<Arguments> evilUseCases() {
Arguments.of("hacked/with-onclick-attribute.svg", "onclick"),
Arguments.of("hacked/with-script-tag.svg", "script"),
Arguments.of("hacked/with-script-tag-in-styles.svg", "script"),
Arguments.of("hacked/with-invalid-script-tag-in-styles.svg", "script"),
Arguments.of("hacked/with-css-url-syntax.svg", "style"),
Arguments.of("hacked/with-xlink-injection.svg", "script")
);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 62f59b5

Please sign in to comment.