Intel

AIKIDO-2026-425537

actionview is vulnerable to Cross-Site Scripting (XSS)

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

61

CVE Score

Medium

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

highlight in actionview substitutes each matched phrase into the :highlighter string without escaping it and marks the result HTML-safe. A match placed inside a quoted attribute of a custom highlighter, such as an href, can end the attribute and add new attributes. The default <mark> highlighter and the block form do not do this. The fix HTML-escapes each group substituted into the highlighter string.

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 with a :highlighter that places the match inside an attribute value.

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