actionview is vulnerable to Cross-Site Scripting (XSS)
61
CVE Score
Medium
Cross-Site Scripting (XSS)
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.
Upgrade the actionview library to the patch version.
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.
4.1.0 - 8.0.5.1
Fixed in 8.0.5.28.1.0 - 8.1.4
Fixed in 8.1.4.1actionview is vulnerable to Cross-Site Scripting (XSS) in versions 4.1.0 - 8.0.5.1 and 8.1.0 - 8.1.4.
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.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.