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