# CVE-2026-33168: Rails has a possible XSS vulnerability in its Action View tag helpers

- Priority: **Routine**
- Reason: Not severe (CVSS 2.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-23 · Modified: 2026-03-24
- Aliases: UBUNTU-CVE-2026-33168, DEBIAN-CVE-2026-33168, CGA-35qf-jc2h-pq2c, CGA-xw98-4c99-4468, CGA-257w-jg56-gfmv, CGA-288h-fj3c-qj8q, CGA-32rg-v37f-3468, CGA-3gcj-7qc5-gfph, CGA-472f-xjg8-8hh6, CGA-4qrp-34vj-442v, CGA-592g-6hhp-76xm, CGA-5qh2-8mgx-rpfh, CGA-5w88-hgjg-m83v, CGA-5x62-4whj-4hhp, CGA-627w-429p-86wj, CGA-6jp4-fmw4-pvj3, CGA-7693-j68h-qqpp, CGA-7cvf-mpqf-f2f6, CGA-7q63-x28g-pgw7, CGA-8225-rmx4-v4j2, CGA-833g-v6v9-4xx8, CGA-8p25-86w2-4wp8, CGA-8q37-r5cf-3g66, CGA-8rxr-xcm9-52ff, CGA-8vp7-qj9q-g9c9, CGA-cgqg-4r9r-x2h7, CGA-f382-jgcm-wj73, CGA-g29x-g6cp-2pwp, CGA-gfh8-37fw-46qw, CGA-h548-c62h-vvvc, CGA-h5c9-5wg6-8rq7, CGA-h9vv-mj32-cr4g, CGA-hcxp-mpw6-jf4c, CGA-j362-2h8j-66px, CGA-j546-372x-p2v7, CGA-j755-wccr-4r2c, CGA-jg6f-8v2j-hrg3, CGA-jq4x-4g7r-jx82, CGA-jr4f-84qw-q37c, CGA-m589-6x8v-3hm9, CGA-mxjq-65hf-h2q2, GHSA-v55j-83pf-r9cq, CGA-qh63-88g5-wcg7, CGA-qh92-9444-5wx6, CGA-qrxw-6qmh-7374, CGA-rfm6-r6mq-frwp, CGA-rwj7-789w-vc3h, CGA-vg7v-v7vj-4mm8, CGA-w54h-r66f-fgqr, CGA-w8mm-9w35-cvqr, CGA-wr6j-55f8-5h6f, CGA-wrf9-55pg-3vjw, CGA-x2gh-49xw-gqx4, CGA-x3wq-x45c-xhvq, CGA-xwcx-c4fg-f6cx
- Record: https://cvemate.com/vulnerability/CVE-2026-33168 · JSON: https://cvemate.com/vulnerability/CVE-2026-33168/json

## Description

```text
Action View provides conventions and helpers for building web pages with the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, when a blank string is used as an HTML attribute name in Action View tag helpers, the attribute escaping is bypassed, producing malformed HTML. A carefully crafted attribute value could then be misinterpreted by the browser as a separate attribute name, possibly leading to XSS. Applications that allow users to specify custom HTML attributes are affected. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.
```

## Signals

- CVSS: 2.3 low (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.741%, percentile 56.001%, 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 31)

- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): \< 18.10.3-r1
- chainguard gitlab-rails-ce-18.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.3 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): \< 18.8.11-r4
- chainguard gitlab-rails-ce-18.9 (Chainguard): \< 18.9.5-r0
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): \< 18.10.3-r0
- chainguard gitlab-rails-ce-fips-18.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.3 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.9 (Chainguard): \< 18.9.5-r0

## References

- <https://github.com/rails/rails/security/advisories/GHSA-v55j-83pf-r9cq>
- <https://github.com/rails/rails/commit/0b6f8002b52b9c606fd6be9e7915d9f944cf539c>
- <https://github.com/rails/rails/commit/63f5ad83edaa0b976f82d46988d745426aa4a42d>
- <https://github.com/rails/rails/commit/c79a07df1e88738df8f68cb0ee759ad6128ca924>
- <https://github.com/rails/rails/releases/tag/v7.2.3.1>
- <https://github.com/rails/rails/releases/tag/v8.0.4.1>
- <https://github.com/rails/rails/releases/tag/v8.1.2.1>
- <https://ubuntu.com/security/CVE-2026-33168>
- <https://www.cve.org/CVERecord?id=CVE-2026-33168>
- <https://security-tracker.debian.org/tracker/CVE-2026-33168>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33168.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33168>
- <https://github.com/rails/rails>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2026-33168.yml>

---

Data as of 2026-12-05T05:32:44.623Z. 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
