CVE-2025-31680 Matomo Analytics - Moderately critical - Cross site request forgery - SA-CONTRIB-2025-008
Attackers can trick authenticated users into performing unintended actions in the Matomo Analytics Drupal module.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-31680?
CVE-2025-31680 is a medium-severity vulnerability in Drupal Matomo Analytics, published on 31 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-Site Request Forgery (CSRF) vulnerability in Drupal Matomo Analytics allows Cross Site Request Forgery.This issue affects Matomo Analytics: from 0.0.0 before 1.24.0.
Weakness: CWE-352
Which versions are affected by CVE-2025-31680?
2 open source packages ship an affected version, including drupal/matomo. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
drupal/matomo Packagist | All versions | 1.24.0 |
drupal/matomo Packagist | All versions | 1.24.0 |
Linux distribution packages (1)
drupal/matomo Packagist:https://packages.drupal.org/8 | All versions | 1.24.0 |
Products include Matomo Analytics Project Matomo Analytics.
How do I fix CVE-2025-31680?
Upgrade drupal/matomo to 1.24.0 or later.
Is CVE-2025-31680 being exploited?
There is no known exploitation of CVE-2025-31680 in the wild and no public exploit code.
Sources
Also known as DRUPAL-CONTRIB-2025-008, GHSA-jh66-rjx8-8qqc.