{"answers":{"affected":"4 open source packages ship an affected version, including drupal/gdpr. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-31689 in the wild and no public exploit code.","fix":"Upgrade drupal/gdpr to a fixed version for your release line: 3.0.1 or 3.1.2.","what":"CVE-2025-31689 is a high-severity vulnerability in Drupal General Data Protection Regulation, 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."},"fix_prompt":"Check this codebase for CVE-2025-31689 and fix it if it is affected.\n\nWhat it is: CVE-2025-31689 is a high-severity vulnerability in Drupal General Data Protection Regulation, 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.\nExploitation: There is no known exploitation of CVE-2025-31689 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- drupal/gdpr (Packagist): affected all versions; fixed in 3.0.1\n- drupal/gdpr (Packagist): affected all versions; fixed in 3.0.1\n- drupal/gdpr (Packagist): affected from 3.1.0; fixed in 3.1.2\n- drupal/gdpr (Packagist): affected from 3.1.0; fixed in 3.1.2\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-31689/ (Markdown: https://insights.sbomify.com/CVE-2025-31689/index.md)","id":"CVE-2025-31689","markdown":"https://insights.sbomify.com/CVE-2025-31689/index.md","name":"CVE-2025-31689","record":{"aliases":["CLSA-2026-1788971869","CLSA-2026-1788972898","CLSA-2026-1790249402","DRUPAL-CONTRIB-2025-018","GHSA-jv6r-mj9p-9xff"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Drupal GDPR module","requires_auth":"none","summary":"Attackers can trick authenticated users into performing unwanted actions in the Drupal GDPR module, bypassing security controls.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"drupal","cpe":[{"product":"general_data_protection_regulation","vendor":"general_data_protection_regulation_project"}],"cvss":{"score":8.1,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"Cross-Site Request Forgery (CSRF) vulnerability in Drupal General Data Protection Regulation allows Cross Site Request Forgery.This issue affects General Data Protection Regulation: from 0.0.0 before 3.0.1, from 3.1.0 before 3.1.2.","ecosystems":["Packagist","Packagist:https://packages.drupal.org/8"],"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":"General Data Protection Regulation - Moderately critical - Cross Site Request Forgery - SA-CONTRIB-2025-018","id":"CVE-2025-31689","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"csrf","year":"2025"},"n_packages":5,"n_references":1,"next":{"headline":"Cache Utility - Moderately critical - Cross Site Request Forgery - SA-CONTRIB-2025-019","id":"CVE-2025-31690"},"packages":[{"ecosystem":"Packagist","fixed":["3.0.1"],"introduced":["0"],"last_affected":[],"package":"drupal/gdpr","purl":null,"source":"GHSA-jv6r-mj9p-9xff"},{"ecosystem":"Packagist","fixed":["3.0.1"],"introduced":["0"],"last_affected":[],"package":"drupal/gdpr","purl":"pkg:composer/drupal/gdpr","source":"GHSA-jv6r-mj9p-9xff"},{"ecosystem":"Packagist","fixed":["3.1.2"],"introduced":["3.1.0"],"last_affected":[],"package":"drupal/gdpr","purl":null,"source":"GHSA-jv6r-mj9p-9xff"},{"ecosystem":"Packagist","fixed":["3.1.2"],"introduced":["3.1.0"],"last_affected":[],"package":"drupal/gdpr","purl":"pkg:composer/drupal/gdpr","source":"GHSA-jv6r-mj9p-9xff"},{"ecosystem":"Packagist:https://packages.drupal.org/8","fixed":["3.0.1","3.1.2"],"introduced":["0","3.1.0"],"last_affected":[],"package":"drupal/gdpr","purl":"pkg:composer/drupal/gdpr?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"DRUPAL-CONTRIB-2025-018"}],"prev":{"headline":"Configuration Split - Moderately critical - Cross Site Request Forgery - SA-CONTRIB-2025-017","id":"CVE-2025-31688"},"products":["General Data Protection Regulation"],"published":"2025-03-31","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"MIT","name":"Drupal","prefix":"DRUPAL"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-29","vendors":["Drupal"]},"summary":"Attackers can trick authenticated users into performing unwanted actions in the Drupal GDPR module, bypassing security controls.","url":"https://insights.sbomify.com/CVE-2025-31689/"}