Skip to content
Heist/ feed
Back to feed
High

Authorization Header Leak During Cross-Domain Redirect in scrapy/scrapy

Type: advisorySources: OSV

In scrapy version 2.10.1, an issue was identified where the Authorization header, containing credentials for server authentication, is leaked to a third-party site during a cross-domain redirect. This vulnerability arises from the failure to remove the Authorization header when redirecting across domains. The exposure of the Authorization header to unauthorized actors could potentially allow for account hijacking.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-3574
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 22:03 UTC · Revision 1

Source evidence

Authorization Header Leak During Cross-Domain Redirect in scrapy/scrapy

core-osv · Original source

Published 16 Apr 2024, 00:00 UTC

In scrapy version 2.10.1, an issue was identified where the Authorization header, containing credentials for server authentication, is leaked to a third-party site during a cross-domain redirect. This vulnerability arises from the failure to remove the Authorization header when redirecting across domains. The exposure of the Authorization header to unauthorized actors could potentially allow for account hijacking.

osv:CVE-2024-3574
Complete source record
{
  "id": "69abba294eb637fafc6df2297b3a5e337acac6c0ac240d071732e264e722bd90",
  "url": "https://osv.dev/vulnerability/CVE-2024-3574",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Authorization Header Leak During Cross-Domain Redirect in scrapy/scrapy",
    "summary": "In scrapy version 2.10.1, an issue was identified where the Authorization header, containing credentials for server authentication, is leaked to a third-party site during a cross-domain redirect. This vulnerability arises from the failure to remove the Authorization header when redirecting across domains. The exposure of the Authorization header to unauthorized actors could potentially allow for account hijacking.",
    "evidence": "osv:CVE-2024-3574",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-3574",
      "aliases": [
        "CVE-2024-3574",
        "GHSA-cw9j-q3vf-hrrv",
        "PYSEC-2026-1908"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/scrapy/scrapy",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2f1d345e74d19e33016f9e69fcda0bda9afb568d"
                },
                {
                  "fixed": "5bcb8fd5019c72d05c4a96da78a7fcb6ecb55b75"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:scrapy:scrapy:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.11.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5bcb8fd5019c72d05c4a96da78a7fcb6ecb55b75"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.11.0",
            "2.10.0",
            "2.9.0",
            "2.8.0",
            "2.7.1",
            "2.7.0",
            "2.6.1",
            "2.6.0",
            "1.8.0",
            "2.5.0",
            "2.4.0",
            "2.3.0",
            "2.2.0",
            "2.1.0",
            "2.0.0",
            "1.7.0",
            "1.6.0",
            "1.5.0",
            "1.4.0",
            "1.3.2",
            "1.3.1",
            "1.2.2",
            "1.3.0",
            "1.2.1",
            "1.2.0",
            "1.2.0dev2",
            "1.0.0rc1",
            "scrapy-0.25.1-sc",
            "hojo",
            "0.25.1",
            "0.24.0",
            "0.25.0",
            "0.23.0",
            "0.21.0",
            "0.17.0",
            "0.15.1",
            "0.14.0",
            "0.15.0",
            "0.10.3",
            "0.10.2",
            "0.10.1",
            "0.10",
            "0.10-rc1",
            "0.9",
            "0.9-rc1",
            "0.8",
            "0.7",
            "0.7-rc1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-3574.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.865183837Z",
      "provider": "osv",
      "references": [
        "https://huntr.com/bounties/49974321-2718-43e3-a152-62b16eed72a9",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3574.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-3574",
        "https://github.com/scrapy/scrapy/commit/5bcb8fd5019c72d05c4a96da78a7fcb6ecb55b75"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200"
        ],
        "cna_assigner": "@huntr_ai",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3574.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-3574",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507469,
  "published_at": "2024-04-16T00:00:15.109+00:00"
}