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
{{ message }}
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.
<img src="x" id='" onerror="alert(1)' />
it's not vulnerable itself. but after purification, it becomes <img src="x" id="" onerror="alert(1)" />
this boils down to the problem of always using double quote in html purifier since v1.0 https://github.com/yahoo/html-purify/blob/v1.0.0/src/html-purify.js#L66
<img src="x" id='" onerror="alert(1)' />
it's not vulnerable itself. but after purification, it becomes
<img src="x" id="" onerror="alert(1)" />
this boils down to the problem of always using double quote in html purifier since v1.0
https://github.com/yahoo/html-purify/blob/v1.0.0/src/html-purify.js#L66
reported here as recommended by @yukinying
The text was updated successfully, but these errors were encountered: