Cross-site scripting in ActionView - CVE-2026-126070
Published: December 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary JavaScript in a victim's browser in the context of the affected site.
The vulnerability exists due to improper escaping in Action View's strip_tags helper, which marks output as html_safe without encoding quotation marks, so ERB does not escape them when rendering the output in a quoted HTML attribute. A remote attacker can supply input that alters the page's HTML attributes and causes script execution when a victim views the page.