You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[vulnerability] Scripts containing __hook__ can skip hooking via textContent property
Root Cause
Recognition failure of scripts without hooking when they contain __hook__ strings even in string literals if script.type is set as non-JavaScript MIME types and then reconfigured as one of the JavaScript MIME types or empty.
Possible Fix
Script contents are always recognized as JavaScript regardless of their configured MIME types.
[vulnerability] Scripts containing
__hook__
can skip hooking via textContent propertyRoot Cause
__hook__
strings even in string literals ifscript.type
is set as non-JavaScript MIME types and then reconfigured as one of the JavaScript MIME types or empty.Possible Fix
Reproducible Code Examples
The text was updated successfully, but these errors were encountered: