Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2023-28362

The redirect_to method in Rails allows provided values to contain characters which are not legal in an HTTP header value. This results in the potential for downstream services which enforce RFC compliance on HTTP response headers to remove the assigned Location header.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-28362
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:53 UTC · Revision 1

Source evidence

CVE-2023-28362

core-osv · Original source

Published 9 Jan 2025, 00:33 UTC

The redirect_to method in Rails allows provided values to contain characters which are not legal in an HTTP header value. This results in the potential for downstream services which enforce RFC compliance on HTTP response headers to remove the assigned Location header.

osv:CVE-2023-28362
Complete source record
{
  "id": "8759ebc76084485463c764190d47561ef1ec57673c82f72a6fd9ddb277b7e059",
  "url": "https://osv.dev/vulnerability/CVE-2023-28362",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2023-28362",
    "summary": "The redirect_to method in Rails allows provided values to contain characters which are not legal in an HTTP header value. This results in the potential for downstream services which enforce RFC compliance on HTTP response headers to remove the assigned Location header.",
    "evidence": "osv:CVE-2023-28362",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-28362",
      "aliases": [
        "CVE-2023-28362",
        "GHSA-4g8v-vg43-wpgf"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rails/rails",
              "type": "GIT",
              "events": [
                {
                  "introduced": "cdd14ce1f5196e4bd98df42f89a1cd36ba9d4bee"
                },
                {
                  "fixed": "1c3f93d1e90a3475f9ae2377ead25ccf11f71441"
                },
                {
                  "fixed": "69e37c84e3f77d75566424c7d0015172d6a6fac5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "7.0.5.1"
                      },
                      {
                        "last_affected": "7.0.5.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "6.1.7.4"
                      },
                      {
                        "last_affected": "6.1.7.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1c3f93d1e90a3475f9ae2377ead25ccf11f71441"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "69e37c84e3f77d75566424c7d0015172d6a6fac5"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "6.1.7.4",
            "7.0.5.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-28362.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.287953923Z",
      "provider": "osv",
      "references": [
        "https://discuss.rubyonrails.org/t/cve-2023-28362-possible-xss-via-user-supplied-values-to-redirect-to/83132",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28362.json",
        "https://github.com/advisories/GHSA-4g8v-vg43-wpgf",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-28362",
        "https://security.netapp.com/advisory/ntap-20250502-0009/",
        "https://github.com/rails/rails/commit/1c3f93d1e90a3475f9ae2377ead25ccf11f71441",
        "https://github.com/rails/rails/commit/69e37c84e3f77d75566424c7d0015172d6a6fac5"
      ],
      "provider_metadata": {
        "cna_assigner": "hackerone",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28362.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-28362",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494703,
  "published_at": "2025-01-09T00:33:47.73+00:00"
}