CVE-2025-31684
JSON

6.8medium

OAuth2 Client - Moderately critical - Cross Site Request Forgery - SA-CONTRIB-2025-013

Severity
6.8medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
drupal
Also known as
GHSA-6chf-hhqf-749cDRUPAL-CONTRIB-2025-013

Description

Cross-Site Request Forgery (CSRF) vulnerability in Drupal OAuth2 Client allows Cross Site Request Forgery.This issue affects OAuth2 Client: from 0.0.0 before 4.1.3.

Affected

Product or packageVersionsReported by
Drupal OAuth2 Clientfrom 0.0.0 before 4.1.3CVE List
drupal/oauth2_client (Packagist)before 4.1.3GitHub Advisory Database
drupal/oauth2_client (Packagist:https://packages.drupal.org/8)before 4.1.3Drupal Security Team
mskcc oauth2_clientbefore 4.1.3NVD

All scores

CISA-ADP6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H
GitHub6.8low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H
GitHublow CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U

Classification

CWE-352

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Cross-Site Request Forgery (CSRF) vulnerability in Drupal OAuth2 Client allows Cross Site Request Forgery.This issue affects OAuth2 Client: from 0.0.0 before 4.1.3.

GitHub Advisory Database

Cross-Site Request Forgery (CSRF) vulnerability in Drupal OAuth2 Client allows Cross Site Request Forgery. This issue affects OAuth2 Client: from 0.0.0 before 4.1.3.

Drupal Security Team

This module enables a developer to create dedicated OAuth2 clients for connecting to external APIs and other OAuth protected resources.

The module does not use Cross Site Request Forgery (CSRF) tokens to protect routes for enabling a client.

This vulnerability is mitigated by the fact that an attacker must know the machine name of the client and deceive another user with this permission.

NVD (es)

La vulnerabilidad de Cross-Site Request Forgery (CSRF) en Drupal OAuth2 Client permite Cross-Site Request Forgery. Este problema afecta al cliente OAuth2: desde la versión 0.0.0 hasta la 4.1.3.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-31684 changed 2025-04-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-6chf-hhqf-749c changed 2025-12-10CC-BY-4.0
Drupal Security TeamDRUPAL-CONTRIB-2025-013 changed 2026-09-10MIT
NVDCVE-2025-31684 changed 2026-06-17Public domain