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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-10 · Modified: 2026-11-13
- Aliases: DEBIAN-CVE-2026-126079, UBUNTU-CVE-2026-126079, GHSA-2p2f-4rq4-gjwc, CGA-5w4q-jfhf-rjqp, CGA-66rv-wgj9-h679, CGA-75r2-2qmg-944r, CGA-7rmm-25c7-jw5g, CGA-7rxw-6fh2-6h7v, CGA-cwvq-cgcr-g8vj, CGA-fj73-fvff-gr7p, CGA-mfm4-8vfg-j4r7, CGA-mxg5-vq65-c8gm, CGA-qhgx-4x4g-mgq6, CGA-xfx3-8c6h-wxhv, CGA-2392-9gg8-vhgm, CGA-256j-hf4v-7gw8, CGA-26xp-33cf-4vx2, CGA-2922-hc38-85mc, CGA-349h-64q7-c5wv, CGA-35gf-8363-v53x, CGA-4444-h3gv-3wp5, CGA-4924-5gc6-8664, CGA-4qp8-fw5f-h5wf, CGA-582r-338f-33w9, CGA-69v8-hcjc-7vjq, CGA-6gr7-6gp5-wfpx, CGA-6mm7-53gp-fcqg, CGA-7vmx-wjwf-67mq, CGA-82wx-prq9-ch4h, CGA-84h7-5995-jwfp, CGA-87mr-54qh-357j, CGA-93fc-8g3c-qhjh, CGA-9gw2-j4xc-pfpc, CGA-9qh9-7rcj-wjjc, CGA-9vwc-mf2r-27qj, CGA-c44p-28rj-wmvr, CGA-c9wx-22r7-899c, CGA-cj5m-3j4h-99p3, CGA-f7f8-v3q7-ww52, CGA-f997-4qv9-7g7j, CGA-f9vg-rqg3-3w8w, CGA-fhq9-84mw-cq74, CGA-g2m5-prw4-qmv6, CGA-gjpv-q4rh-3cg5, CGA-gvff-rhg5-5jff, CGA-h25j-xv7x-jc8p, CGA-h86v-wr7j-44f2, CGA-hhq6-7j44-249w, CGA-hx4m-jmhv-m79q, CGA-hx5w-gv2w-f2c8, CGA-j68p-4w25-22cf, CGA-jcpv-hcx6-78vx, CGA-p284-xmq2-58c5, CGA-p3xj-m5jf-8c7r, CGA-qc86-pcjq-j2m2, CGA-qp43-5gfh-f232, CGA-r8rj-wwxp-5f2v, CGA-rfxj-3j8r-w972, CGA-rh8x-p746-chwv, CGA-v63x-3m79-f59c, CGA-wg58-frh7-hfjc, CGA-xw8h-8845-hm3x, CGA-5xxf-98w4-67q2, CGA-frq9-jcv4-632g, CGA-jgx6-xr4c-vcmx, CGA-jr3g-jv7g-vfcc, CGA-r273-734r-g348, CGA-wfgv-5q69-wm77
- Record: https://cvemate.com/vulnerability/CVE-2026-126079 · JSON: https://cvemate.com/vulnerability/CVE-2026-126079/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.357%, percentile 31.432%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 37)

- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.3 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.4 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.5 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.3 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.4 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.3 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.5 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/rails/rails/security/advisories/GHSA-2p2f-4rq4-gjwc>
- <https://github.com/rails/rails/commit/009ea68342d05d02087c04dae7faaa4e4c1def11>
- <https://github.com/rails/rails/releases/tag/v8.0.5.2>
- <https://github.com/rails/rails/releases/tag/v8.1.4.1>
- <http://github.com/rails/rails/commit/adc3a32d4abea77ed3aacf6f5fb71cfc005bef73>
- <https://security-tracker.debian.org/tracker/CVE-2026-126079>
- <https://ubuntu.com/security/CVE-2026-126079>
- <https://www.cve.org/CVERecord?id=CVE-2026-126079>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126079>
- <https://github.com/rails/rails/commit/adc3a32d4abea77ed3aacf6f5fb71cfc005bef73>
- <https://github.com/rails/rails>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/GHSA-2p2f-4rq4-gjwc.yml>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126079.json>

---

Data as of 2026-12-05T04:41:39.831Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
