CVE Feed
6.1 Medium

Action View: Possible XSS vulnerability in strip_tags

CVE-2026-126070

Impact striptags in Action View returns its sanitized output marked htmlsafe, but the underlying sanitizer encodes only &, , leaving " and ' unencoded. Because ERB does not escape a string marked htmlsafe, untrusted input passed through striptags and rendered inside a quoted HTML attribute value could close the attribute and add new attributes, possibly leading to XSS. Applications that render striptags output from untrusted input inside an HTML attribute, for example in a title attribute or a tag, are affected. Output rendered as element content is not affected. Details striptags now encodes " and ' in its output, as well as &, , without double-encoding existing entities. Applications that use striptags output outside HTML, such as in a text template or JSON, now see " and ' where they saw " and '; CGI.unescapeHTML decodes them. See the Action View CHANGELOG. Workarounds Pass striptags output to an attribute through a tag helper, which escapes attribute values, for example tag.a(title: striptags(userinput)). Releases The fixed releases are available at the normal locations. Patches for those who cannot upgrade at once: 8.1:…

Assessment

CVSS
6.1 (v3.1)
Severity
Medium
EPSS
0.00269% chance of exploitation in the next 30 days
Known exploited
Not listed in CISA KEV
Exploit availability
Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
Published
12 November 2026
Last updated
12 November 2026
Affected
actionview
Weakness
CWE-79

CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

At the source

References

Community proofs of concept

No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.

Submit a proof of concept
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-126070