CVE-2022-3704: Ruby on Rails _table.html.erb cross site scripting

Published Oct 26, 2022
·
Updated

DISPUTED A vulnerability classified as problematic has been found in Ruby on Rails. This affects an unknown part of the file actionpack/lib/actiondispatch/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.

Other sources

actionpack from the Ruby on Rails project is vulnerable to Cross-site Scripting in the Route Error Page. This issue has been patched with this commit.

This vulnerability is disputed by the Rails security team. It requires that the developer is tricked into copy pasting a malicious javascript-containing string into a development-only error page accessible only via localhost.

GitHub

Affected Software

2 affected components
rubygems/actionpack<=7.0.4
rubyonrails Rails

Event History

Oct 26, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Disputed
08:15 PM
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 27, 2022
Advisory Published
via GitHub·12:00 PM
Jan 23, 2023
Withdrawn
via GitHub·08:44 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-3704?

CVE-2022-3704 is a vulnerability in Ruby on Rails that allows for cross-site scripting attacks.

2

What part of Ruby on Rails is affected by CVE-2022-3704?

CVE-2022-3704 affects an unknown part of the file actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb.

3

How severe is CVE-2022-3704?

CVE-2022-3704 has a severity rating of medium with a CVSS score of 5.4.

4

How can CVE-2022-3704 be exploited?

CVE-2022-3704 can be exploited by initiating a cross-site scripting attack remotely.

5

Is there a fix for CVE-2022-3704?

Yes, a fix for CVE-2022-3704 is available in the Rails repository. Please refer to the provided GitHub commit and issue links for more information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203