CVE-2022-3704 json
Ruby on Rails _table.html.erb cross site scripting
published 2022-10-26 4 y ago modified 2026-09-10 59 d ago also BIT-rails-2022-3704 , EUVD-2022-7065 , GHSA-9chr-4fjh-5rgw
- cvss
- 3.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
A vulnerability classified as problematic has been found in Ruby on Rails. This affects an unknown part of the file actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb. The manipulation leads to cross site scripting. It is possible to initiate the attack remotely. The real existence of this vulnerability is still doubted at the moment. The name of the patch is be177e4566747b73ff63fd5f529fab564e475ed4. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-212319. NOTE: Maintainer declares that there isn’t a valid attack vector. The issue was wrongly reported as a security vulnerability by a non-member of the Rails team.
Patch / fix
- github.com/rails/rails@be177e4 commit
- github.com/rails/rails/issues/46244 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-3704 updated cvss 5.4
rubygem-rails: XSS within Route Error Page
-
Red Hat Satellite 6 rubygem-rails, tfm-rubygem-railsaffected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.90% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/rails/rails/issues/46244 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | rails | — | no fix listed |
Affected products
- unspecified Ruby on Rails
- rubyonrails rails
Classification
- Weakness
- Technology feeds
References
-
github.com
/rails/rails/commit/be177e4566747b73ff63fd5f529fab564e475ed4
patch, third-party-advisory, web
-
github.com
/rails/rails/issues/46244
exploit, issue-tracking, patch, third-party-advisory, web
-
vuldb.com
/?id.212319
permissions-required, third-party-advisory, web
Sources
- CVE List CVE-2022-3704
- GitHub Advisory GHSA-9chr-4fjh-5rgw
- NVD CVE-2022-3704
- OSV BIT-rails-2022-3704
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.