# CVE-2026-126078: Action View: Possible XSS vulnerability in Action View highlight helper

- 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-12
- Aliases: DEBIAN-CVE-2026-126078, UBUNTU-CVE-2026-126078, GHSA-v6rj-xm57-3p59, CGA-3g38-cxmx-xm69, CGA-47jj-7x8m-rp2w, CGA-47pw-89rf-6rj6, CGA-4h72-q7fh-3ffh, CGA-594r-2r28-q7q6, CGA-9hxh-6vhv-mj52, CGA-gfhr-53jf-qxhg, CGA-hj9w-cprj-gpxm, CGA-vp64-x3qc-jc4m, CGA-vrvf-xq2h-q29p, CGA-262g-6gpf-vjm4, CGA-28gf-4rr4-q675, CGA-29f2-hp73-g37r, CGA-39xf-j3jj-4qj8, CGA-3m47-3p7x-3fww, CGA-47xm-qwjm-jfpg, CGA-5wpr-p3fv-p6hc, CGA-6w9f-gxrx-xw3c, CGA-7555-6835-xr53, CGA-7f63-99qq-94cj, CGA-7v22-cp33-p6pc, CGA-88m8-7cmj-8r6x, CGA-8h8m-8qvf-3fvg, CGA-c7qw-h6hq-5pfx, CGA-f3xh-gh5j-rj74, CGA-f5pr-6994-g54v, CGA-fgq6-7cvg-75q6, CGA-fr76-5xj8-pr4m, CGA-g2rg-5468-q4r7, CGA-gp37-22wf-cqpg, CGA-gp43-8c97-877h, CGA-gw45-444g-fh7g, CGA-gxrw-6mm6-w7vp, CGA-gxv2-35h4-54fg, CGA-h2fh-hpq3-pp5w, CGA-h2j3-7c9v-9hc8, CGA-hhgr-jvpw-j97p, CGA-hhqx-pggh-x76m, CGA-hqmr-369v-hgv4, CGA-hqq8-g67r-78v4, CGA-hx7f-7mp7-q9qg, CGA-j2h9-fc88-9fhg, CGA-m46j-4v4f-x89f, CGA-m57g-3jqg-phm5, CGA-mq7m-7qmf-8qfm, CGA-p9g3-g524-hj3j, CGA-q289-c2w7-q493, CGA-q33m-9p6r-rpm4, CGA-q42f-m877-f92g, CGA-q77q-7gcq-3x4h, CGA-rppj-cc5x-8mc3, CGA-vjj8-mcr6-cpwx, CGA-w3wx-fwp3-pgmj, CGA-w4r8-p8gq-7vh3, CGA-wgjh-pwcv-8jx7, CGA-x364-jjc4-8hg5, CGA-xhg8-93fg-rgrw, CGA-5wrv-f4fp-fhr4, CGA-6gq2-9qp9-h5qj, CGA-93gr-43ww-263v, CGA-9v6x-6gxw-qvp7, CGA-h22r-g4r5-p23r, CGA-r46v-7pmm-x2mq, CGA-w4h5-74xq-jp4w, CGA-p4jh-8c44-hc5v
- Record: https://cvemate.com/vulnerability/CVE-2026-126078 · JSON: https://cvemate.com/vulnerability/CVE-2026-126078/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, ActionView::Helpers::TextHelper#highlight substitutes each matched phrase into the :highlighter string without escaping it and returns the result marked HTML-safe. Because sanitizing leaves quote characters in text unescaped, a match substituted into a quoted attribute value of the highlighter, such as the <a href="search?q=\1"> form shown in the method's documentation, could end the attribute value and add attributes to the element, possibly leading to XSS. Applications are affected when they pass a :highlighter that places a placeholder inside an attribute value and highlight text or phrases that a user controls. The default <mark>\1</mark> highlighter and the block form are not 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.362%, percentile 32.027%, 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-v6rj-xm57-3p59>
- <https://github.com/rails/rails/commit/06938194b4fd59e1d2c8ab4a781f3c1e2b763425>
- <https://github.com/rails/rails/commit/c796f6198837479ada13290eb8fa767b5219a58a>
- <https://github.com/rails/rails/releases/tag/v8.0.5.2>
- <https://github.com/rails/rails/releases/tag/v8.1.4.1>
- <https://security-tracker.debian.org/tracker/CVE-2026-126078>
- <https://ubuntu.com/security/CVE-2026-126078>
- <https://www.cve.org/CVERecord?id=CVE-2026-126078>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126078>
- <https://github.com/rails/rails>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/GHSA-v6rj-xm57-3p59.yml>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126078.json>

---

Data as of 2026-12-05T04:27:49.061Z. 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
