Rules
no-script-url
Full Name in eslint-plugin-react-dom
Full Name in @eslint-react/eslint-plugin
Presets
dom
recommended
recommended-typescript
recommended-type-checked
Description
Disallow javascript:
URLs as attribute values.
javascript:
URLs are a form of XSS attack. They allow an attacker to execute arbitrary JavaScript in the context of your website, which can be used to steal user data, deface your website, or perform other malicious actions.