Avoid unescaped HTML built from request or tainted data
Do not mark request-driven strings as HTML safe or bypass sanitization in views or helpers.
#Metadata
#Why it matters
`raw`, `html_safe`, `sanitize: false`, and ERB double-equals disable escaping and commonly become reflected XSS sinks.
#Remediation
Prefer default escaping, pass sanitized fragments, or centralize HTML generation through a vetted sanitizer instead of `raw`/`html_safe`.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/ruby/ruby.security.rails-unsafe-html-output.rule.yaml.