i18n
https://github.com/ruby-i18n/i18n
Railsの場合
https://railsguides.jp/i18n.html
キーに_htmlがあるものはhtml_safeが設定される
Rails7.0以降であれば ActiveSupport::HtmlSafeTranslationによるもの
事例
事例:CVE-2020-15169: Potential XSS vulnerability in Action View
事例:CVE-2024-26143: Possible XSS Vulnerability in Action Controller