Skip to content
Heist/ feed
Back to feed
Low

Ruby on Rails _table.html.erb cross site scripting

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-3704
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 19:02 UTC · Revision 1

Source evidence

Ruby on Rails _table.html.erb cross site scripting

core-osv · Original source

Published 26 Oct 2022, 00:00 UTC

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.

osv:CVE-2022-3704
Complete source record
{
  "id": "afc5ecf8449be30b9cf3898f2d4ef08dab7c534b9d231b2a7837c2d7eca57e8f",
  "url": "https://osv.dev/vulnerability/CVE-2022-3704",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Ruby on Rails _table.html.erb cross site scripting",
    "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.",
    "evidence": "osv:CVE-2022-3704",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2022-3704",
      "aliases": [
        "BIT-rails-2022-3704",
        "CVE-2022-3704"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rails/rails",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "be177e4566747b73ff63fd5f529fab564e475ed4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "be177e4566747b73ff63fd5f529fab564e475ed4"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v7.0.0.alpha2",
            "v7.0.0.alpha1",
            "v6.1.0.rc1",
            "v6.0.0.beta2",
            "v6.0.0.beta1",
            "v5.1.0.beta1",
            "v5.0.0.beta4",
            "v5.0.0.beta2",
            "v5.0.0.beta1",
            "v4.2.0.beta1",
            "v4.0.0.rc1",
            "v4.0.0.beta1",
            "v3.2.0.rc1",
            "v3.1.0.rc1",
            "v3.1.0.beta1",
            "v3.0.0.beta3",
            "v3.0.0.beta.3",
            "v2.0.1",
            "v2.0.0",
            "v2.0.0_RC2",
            "v2.0.0_RC1",
            "v2.0.0_PR",
            "v1.1.1",
            "v1.1.0",
            "v1.1.0_RC1",
            "v0.14.3",
            "v0.14.1",
            "v0.13.1",
            "v0.13.0",
            "v0.12.0",
            "v0.11.1",
            "v0.11.0",
            "v0.10.1",
            "v0.10.0",
            "v0.9.5",
            "v0.9.4.1",
            "v0.9.4",
            "v0.9.3",
            "v0.9.2",
            "v0.9.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-3704.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:47.902584919Z",
      "provider": "osv",
      "references": [
        "https://vuldb.com/?id.212319",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3704.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-3704",
        "https://github.com/rails/rails/issues/46244",
        "https://github.com/rails/rails/commit/be177e4566747b73ff63fd5f529fab564e475ed4"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-707"
        ],
        "isDisputed": true,
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3704.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-3704",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 515935,
  "published_at": "2022-10-26T00:00:00+00:00"
}