AntiPattern
Unescaped Content Corruption
cross-boundary-content-mangling
Untrusted text is mishandled across render and storage boundaries—HTML is escaped when raw HTML was expected, sanitizers using textContent destroy intended markup, and transformations like UTF-16 surrogate stripping change bytes—breaking display, sanitization semantics, and signature/embedding integrity.