Intel

AIKIDO-2026-93867

actionview is vulnerable to Cross-Site Scripting (XSS)

CVE-2026-126079Published Nov 4, 2026
November 4, 2026

61

CVE Score

Medium

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

highlight and simple_format in actionview sanitize input and then split the resulting HTML as a string. With the HTML5 sanitizer, Nokogiri leaves < and > unescaped inside attribute values, so a > or a blank line in an attribute can turn markup that the sanitizer left inert into live elements in the helper's html_safe output. Untrusted text passed to highlight, or to simple_format with HTML options, can therefore run as markup. The fix requires a sanitizer stack that escapes those characters in attribute values.

How do I fix this?

Upgrade the actionview library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and the application passes untrusted text to highlight or simple_format while using the HTML5 sanitizer.

Package

Versions

4.1.0 - 8.0.5.1

Fixed in 8.0.5.2

8.1.0 - 8.1.4

Fixed in 8.1.4.1

Background info

actionview is vulnerable to Cross-Site Scripting (XSS) in versions 4.1.0 - 8.0.5.1 and 8.1.0 - 8.1.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea