DRUPAL-CONTRIB-2026-247

    Dashboard / Vulnerabilities / DRUPAL-CONTRIB-2026-247

    DRUPAL-CONTRIB-2026-247

    Published: 21 Oct 2026Last Modified: 21 Oct 2026

    Summary:

    Details: This module enables you to generate and serve WebP derivatives of image style images, overriding Drupal core's image style download controller to serve them. The module serves WebP image derivative responses with the HTTP header `Cache-Control: public` for all file schemes other than the private file system, including the temporary file system and access-controlled custom schemes. This can lead to some users getting cached versions of files with information they should not be able to access. For example, files may be cached by Varnish or a CDN. This vulnerability is mitigated by the fact that it only affects sites that serve image derivatives from a custom or temporary file scheme with access control, behind a shared cache that honors the `Cache-Control` header. Access checks are still enforced on requests that reach the site itself. An attacker would also need to know the path of a previously requested file still in cache. This is the same vulnerability class fixed in Drupal core by [SA-CORE-2025-008](https://www.drupal.org/sa-core-2025-008) and [SA-CORE-2026-010](https://www.drupal.org/sa-core-2026-010); the module's controller override reintroduced the behavior.

    Affected packages

    Package

    Name: drupal/imageapi_optimize_webp

    Purl: pkg:composer/drupal/imageapi_optimize_webp?repository_url=https:%2F%2Fpackages.drupal.org%2F8

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.1.2

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    DRUPAL-CONTRIB-2026-247 | CVE-DB