CVE-2025-31690: Drupal Cache Utility Cross-Site Request Forgery (CSRF) Vulnerability

drupal/cache_utility Updated 02 Oct 2025

Summary

01/04/2025
Yes i
Moderate
8.8

CVE-2025-31690: Drupal Cache Utility Cross-Site Request Forgery (CSRF) vulnerability. Affects drupal/cache_utility versions < 1.2.1. Fixed in 1.2.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Drupal Cache Utility is a component of the Drupal content management system that provides caching functionality to enhance performance by storing frequently accessed data. It is widely used in various web applications built on the Drupal framework. However, this package has been identified to have a vulnerability that allows attackers to exploit it through Cross-Site Request Forgery (CSRF), potentially leading to unauthorized actions being performed on behalf of authenticated users.

Vulnerability Detail

The Cross-Site Request Forgery (CSRF) vulnerability in Drupal Cache Utility allows attackers to trick users into executing unwanted actions on a web application in which they are authenticated. This vulnerability arises from the lack of proper validation of requests, enabling malicious actors to send unauthorized commands. If exploited, it could lead to data manipulation or unauthorized access, posing a significant risk to the integrity and security of the application.

How To Fix

Minimum fixed version

1.2.1

This is the first release that contains the fix.

composer require drupal/cache_utility:1.2.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate updating is not feasible, consider implementing CSRF tokens in your application to validate requests. This can be done by adding a unique token to forms and verifying it on the server side before processing any requests.

Conclusion

The CSRF vulnerability in Drupal Cache Utility (CVE-2025-31690) poses a significant risk to web applications using this package. It is crucial to update to version 1.2.1 or later to mitigate this risk. Additionally, utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for drupal/cache_utility →

Share this vulnerability

FAQ

CSRF is a type of attack that tricks the victim into submitting a request that they did not intend to make, potentially leading to unauthorized actions on a web application.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your composer.lock file without any signup.

Failure to address this vulnerability could result in unauthorized access to user accounts, data manipulation, and a breach of user trust, leading to potential legal and reputational repercussions.

Using older versions that are vulnerable to CSRF attacks is not safe. It is highly recommended to update to the latest patched version to ensure security.

If you suspect a compromise, immediately review your application logs, update to the latest version, and consider conducting a security audit to assess any potential damage.

Related vulnerabilities

Recent vulnerabilities recorded for drupal/cache_utility.

How To Fix

Minimum fixed version

1.2.1

This is the first release that contains the fix.

composer require drupal/cache_utility:1.2.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback