Skip to content

Conversation

@geeknik
Copy link
Contributor

@geeknik geeknik commented Aug 9, 2023

Changes:

  • Use matchers-condition: and to require both document.write and innerHTML matches
  • Split the document.write and innerHTML regexes into separate matchers
  • The extractors stay the same to extract any usage of either

This makes the template more targeted by requiring both risky functions to be present before triggering a match.

Changes: 

- Use `matchers-condition: and` to require both document.write and innerHTML matches
- Split the document.write and innerHTML regexes into separate matchers
- The extractors stay the same to extract any usage of either

This makes the template more targeted by requiring both risky functions to be present before triggering a match.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant