CVE-2025-31685: Goalgorilla/open social Drupal Open Social Missing Authorization Vulnerability

MODERATE
Advisory Identifier: GHSA-gf72-h4cp-wcm4
CVSS 9.1
CWE-862
Published
Advisory Summary

CVE-2025-31685 is a MODERATE (CVSS 9.1) drupal open social missing authorization vulnerability (CWE-862: Missing Authorization) affecting Goalgorilla/open social libraries in the Packagist ecosystem. The issue involves drupal open social missing authorization vulnerability. Remediation is available by upgrading affected packages to version 12.3.11, 12.4.10.

CVE-2025-31685 at a Glance

CVE Identifier CVE-2025-31685
GHSA Identifier GHSA-gf72-h4cp-wcm4
Severity MODERATE
CVSS v3.1 Base Score 9.1
CWE Classification CWE-862: Missing Authorization
Affected Product Goalgorilla/open social
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 9.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-31685

To remediate this vulnerability, upgrade all affected Goalgorilla/open social dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

goalgorilla/open_social fixed: 12.3.11
Upgrade goalgorilla/open_social to 12.3.11
goalgorilla/open_social fixed: 12.4.10
Upgrade goalgorilla/open_social to 12.4.10
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for goalgorilla/open_social

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-31685, inspect your project dependencies for Goalgorilla/open social:

inspect dependencies for goalgorilla/open_social

Analyze the terminal output to locate any version of Goalgorilla/open social in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 12.3.11), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Goalgorilla/open social, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Missing Authorization vulnerability in Drupal Open Social allows Forceful Browsing. This issue affects Open Social: from 0.0.0 before 12.3.11, from 12.4.0 before 12.4.10.

CVE-2025-31685 Affected Goalgorilla/open social Versions

2 component(s)
Fixed Versions:
12.3.1112.4.10
Product / Package Ecosystem Affected Versions Fixed Version
goalgorilla/open_social
Packagist
< 12.3.11
12.3.11
goalgorilla/open_social
Packagist
≥ 12.4.0
< 12.4.10
12.4.10

References

Frequently Asked Questions

What is CVE-2025-31685?
CVE-2025-31685 is a security vulnerability in Goalgorilla/open social involving Drupal Open Social Missing Authorization vulnerability under CWE-862: Missing Authorization.
Which Goalgorilla/open social versions are affected?
Affected versions include releases prior to 12.3.11, 12.4.10 across affected packages: goalgorilla/open_social.
What version fixes CVE-2025-31685?
Upgrading to 12.3.11, 12.4.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is goalgorilla/open_social affected?
Yes, goalgorilla/open_social is affected in releases prior to 12.3.11, 12.4.10. Upgrade your dependency to 12.3.11, 12.4.10 or later.
What is the CVSS score of CVE-2025-31685?
CVE-2025-31685 has a CVSS v3.1 base score of 9.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H.
What CWE is associated with CVE-2025-31685?
CVE-2025-31685 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Packagist dependencies for CVE-2025-31685?
Run the dependency tree command: 'inspect dependencies for goalgorilla/open_social'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-gf72-h4cp-wcm4",
  "modified" : "2025-04-29T20:20:54Z",
  "published" : "2025-04-01T00:30:34Z",
  "aliases" : [ "CVE-2025-31685" ],
  "summary" : "Drupal Open Social Missing Authorization vulnerability",
  "details" : "Missing Authorization vulnerability in Drupal Open Social allows Forceful Browsing. This issue affects Open Social: from 0.0.0 before 12.3.11, from 12.4.0 before 12.4.10.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "goalgorilla/open_social"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "12.3.11"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "goalgorilla/open_social"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "12.4.0"
      }, {
        "fixed" : "12.4.10"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-31685"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/goalgorilla/open_social/commit/52c531e156fb8653e47ab99df432c4fb9651f36e"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/goalgorilla/open_social/commit/6ebeed01c83dc4947a5c3689bc33b4deca574473"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/goalgorilla/open_social"
  }, {
    "type" : "WEB",
    "url" : "https://www.drupal.org/sa-contrib-2025-014"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-02T15:11:50Z",
    "nvd_published_at" : "2025-03-31T22:15:21Z"
  }
}