Skip to content

Scan rule · RSC-SEC-062

Unsanitised HTML rendered

SecuritySeverity: MediumCWE-79OWASP A03-2021

Finds `dangerouslySetInnerHTML` with a dynamic value — the classic XSS path.

Scan tier

Source code from source mapsRepo access (deep scan)

How to fix it

Sanitise the HTML before rendering, or render it as text.

Scan your own app for free