{"answers":{"affected":"4 open source packages ship an affected version, including goalgorilla/open_social. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-31685 in the wild and no public exploit code.","fix":"Upgrade goalgorilla/open_social to a fixed version for your release line: 12.3.11 or 12.4.10.","what":"CVE-2025-31685 is a critical missing authorization vulnerability in Drupal Open Social, published on 31 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-31685 and fix it if it is affected.\n\nWhat it is: CVE-2025-31685 is a critical missing authorization vulnerability in Drupal Open Social, published on 31 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-31685 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- goalgorilla/open_social (Packagist): affected all versions; fixed in 12.3.11\n- goalgorilla/open_social (Packagist): affected all versions; fixed in 12.3.11\n- goalgorilla/open_social (Packagist): affected from 12.4.0; fixed in 12.4.10\n- goalgorilla/open_social (Packagist): affected from 12.4.0; fixed in 12.4.10\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-31685/ (Markdown: https://insights.sbomify.com/CVE-2025-31685/index.md)","id":"CVE-2025-31685","markdown":"https://insights.sbomify.com/CVE-2025-31685/index.md","name":"CVE-2025-31685","record":{"aliases":["GHSA-gf72-h4cp-wcm4"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Drupal Open Social","requires_auth":"none","summary":"Attackers can bypass authorization controls to access restricted content in the Drupal Open Social distribution.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"drupal","cpe":[{"product":"open_social","vendor":"getopensocial"}],"cvss":{"score":9.1,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"description":"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Open Social - Moderately critical - Access bypass - SA-CONTRIB-2025-014","id":"CVE-2025-31685","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"missing_authorization","year":"2025"},"n_packages":4,"n_references":1,"next":{"headline":"Open Social - Less critical - Access bypass, Information Disclosure - SA-CONTRIB-2025-015","id":"CVE-2025-31686"},"packages":[{"ecosystem":"Packagist","fixed":["12.3.11"],"introduced":["0"],"last_affected":[],"package":"goalgorilla/open_social","purl":null,"source":"GHSA-gf72-h4cp-wcm4"},{"ecosystem":"Packagist","fixed":["12.3.11"],"introduced":["0"],"last_affected":[],"package":"goalgorilla/open_social","purl":"pkg:composer/goalgorilla/open_social","source":"GHSA-gf72-h4cp-wcm4"},{"ecosystem":"Packagist","fixed":["12.4.10"],"introduced":["12.4.0"],"last_affected":[],"package":"goalgorilla/open_social","purl":null,"source":"GHSA-gf72-h4cp-wcm4"},{"ecosystem":"Packagist","fixed":["12.4.10"],"introduced":["12.4.0"],"last_affected":[],"package":"goalgorilla/open_social","purl":"pkg:composer/goalgorilla/open_social","source":"GHSA-gf72-h4cp-wcm4"}],"prev":{"headline":"OAuth2 Client - Moderately critical - Cross Site Request Forgery - SA-CONTRIB-2025-013","id":"CVE-2025-31684"},"products":["Open Social"],"published":"2025-03-31","related":[{"cvss_score":9.1,"headline":"Open Social - Moderately critical - Information Disclosure - SA-CONTRIB-2024-005","id":"CVE-2024-13241","kev_date_added":null,"published":"2025-01-09"},{"cvss_score":8.8,"headline":"Open Social - Moderately critical - Cross Site Request Forgery - SA-CONTRIB-2025-079","id":"CVE-2025-48921","kev_date_added":null,"published":"2025-06-26"},{"cvss_score":8.1,"headline":"Open Social - Less critical - Access bypass, Information Disclosure - SA-CONTRIB-2025-015","id":"CVE-2025-31686","kev_date_added":null,"published":"2025-03-31"},{"cvss_score":7.5,"headline":"Open Social - Moderately critical - Access bypass - SA-CONTRIB-2024-004","id":"CVE-2024-13240","kev_date_added":null,"published":"2025-01-09"},{"cvss_score":5.4,"headline":"Open Social - Moderately critical - Cross Site Scripting, Denial of Service - SA-CONTRIB-2024-037","id":"CVE-2024-13273","kev_date_added":null,"published":"2025-01-09"},{"cvss_score":5.3,"headline":"Open Social - Moderately critical - Denial of Service - SA-CONTRIB-2024-038","id":"CVE-2024-13274","kev_date_added":null,"published":"2025-01-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-29","vendors":["Drupal"]},"summary":"Attackers can bypass authorization controls to access restricted content in the Drupal Open Social distribution.","url":"https://insights.sbomify.com/CVE-2025-31685/"}