Skip to main content
MEDIUM

CVE-2022-3704

CVSS v3

5.4

MEDIUM

EPSS Score

0.8 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for rails.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • actionpackRubyGemsall versions · no fixed version listed
  • railsBitnamiall versions · no fixed version listed

Vendor advisories

  • CVE-2022-3704 Red Hat Product Security3 known affected

    rubygem-rails: XSS within Route Error Page

    el8/rubygem-rails as a component of Red Hat Satellite 6 · tfm-rubygem-rails as a component of Red Hat Satellite 6 · tfm-rubygem-rails.src as a component of Red Hat Satellite 6

Full record on NVD

Description

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.

Technical details

Published
2022-10-26

Frequently asked questions

What is CVE-2022-3704?

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.

Is CVE-2022-3704 actively exploited?

Active exploitation of CVE-2022-3704 has not been confirmed. Its EPSS score was 0.8% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-3704?

CVE-2022-3704 has a CVSS v3 base score of 5.4 (MEDIUM severity).

Running rails? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month