security.output-encoding

Avoid raw HTML with request input

Request-derived values should not be interpolated into raw HTML strings.

#Metadata

#Why it matters

Raw HTML construction with request data is a common path to reflected and stored XSS.

#Remediation

Use framework escaping, a trusted sanitizer, or safe DOM APIs instead of raw HTML interpolation.

#Repository path

The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.security.raw-html-using-user-input.rule.yaml.