CVEfocus › CVE database › CVE-2026-126079

CVE-2026-126079Action View: Possible XSS vulnerability in Action View text helpers

CVSS 6.1 MediumEPSS 0.3% (higher than 20% of CVEs)Published 2026-11-10Updated 2026-11-13Assigner: GitHub_M

Action View is a framework for handling view template lookup and rendering and provides view helpers for building HTML. Prior to 8.1.4.1 and 8.0.5.2, with the HTML5 sanitizer (Rails::HTML5::Sanitizer, the default vendor on CRuby for applications using load_defaults 7.1 or later), Nokogiri before 1.19.5 serializes < and > unescaped inside attribute values. The Action View text helpers highlight and simple_format sanitize their input and then process the resulting HTML as a string: highlight splits it on tag boundaries to insert matches, and simple_format splits it into paragraphs on blank lines. An unescaped > or a blank line inside an attribute value could cause markup in that value, which the sanitizer left inert, to be emitted as live elements in the helper's html_safe output, possibly leading to XSS. Applications that use the HTML5 sanitizer and pass untrusted text to highlight, or to simple_format with html_options, are affected. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.

CWE-79

What to do

Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
6Fix pending
2Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10railsFix pendingUBUNTU-CVE-2026-126079
Ubuntu 26.04railsUnder investigationUBUNTU-CVE-2026-126079
Ubuntu 24.04railsUnder investigationUBUNTU-CVE-2026-126079
Ubuntu 22.04railsFix pendingUBUNTU-CVE-2026-126079
Ubuntu 20.04railsFix pendingUBUNTU-CVE-2026-126079
Ubuntu 18.04railsFix pendingUBUNTU-CVE-2026-126079
Ubuntu 16.04railsFix pendingUBUNTU-CVE-2026-126079
Debian 14railsFixed2:7.2.4+dfsg-3DEBIAN-CVE-2026-126079
Debian 13railsFix pendingDEBIAN-CVE-2026-126079
RubyGems libraryactionviewFixed8.1.4.1GHSA-2p2f-4rq4-gjwc

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.