.. / Remediation

There are many ways developers can consider remediating this type of vulnerability. Understanding the fundamentals of this attack alongside the application needs, can help devs make a better choice when it comes to remediation.

We tried to separate different approaches we saw throughout our research of remediation taken by applications and sanitizers. 

Sanitize client side

Don’t reparse

Always encode or delete raw content 

Not supporting foreign content elements

Support for sanitizing foreign elements by parent namespace checks.