Drupal Security Advisory
DRUPAL-CORE-2025-005
Details
Drupal Core has a rarely used feature, provided by an underlying library, which allows certain attributes of incoming HTTP requests to be overridden.
This functionality can be abused in a way that may cause Drupal to cache response data that it should not. This can lead to legitimate requests receiving inappropriate cached responses (cache poisoning).
This could be exploited in various ways:
- Broken rendering of some pages
- Unstyled or malformatted pages
- Adverse impacts on client-side functionality
Changes are being made in the underlying library which will mitigate this problem, but in the meantime Drupal core has been hardened to protect against this vulnerability. The authors of the underlying library do not believe it is a source of vulnerabilities in other systems. Drupal's use of library leads to an implementation-specific vulnerability, so we've issued this advisory and reserved a CVE ID for the vulnerability in Drupal.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | drupal/core | From 8.0.0 before 10.4.9 (fixed in 10.4.9) From 10.5.0 before 10.5.6 (fixed in 10.5.6) From 11.0.0 before 11.1.9 (fixed in 11.1.9) From 11.2.0 before 11.2.8 (fixed in 11.2.8) |