{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-42359 exists.","fix":"No fix has been published for CVE-2021-42359 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-42359 is a high-severity missing authorization vulnerability in legalweb WP DSGVO Tools (GDPR), published on 5 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-42359 and fix it if it is affected.\n\nWhat it is: CVE-2021-42359 is a high-severity missing authorization vulnerability in legalweb WP DSGVO Tools (GDPR), published on 5 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-42359 exists.\n\nAffected product: legalweb WP DSGVO Tools (GDPR). No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2021-42359/ (Markdown: https://insights.sbomify.com/CVE-2021-42359/index.md)","id":"CVE-2021-42359","markdown":"https://insights.sbomify.com/CVE-2021-42359/index.md","name":"CVE-2021-42359","record":{"aliases":["GHSA-m254-mfgm-2hwx"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"Unauthenticated attackers can permanently delete arbitrary posts or pages due to missing capability and nonce checks in an AJAX action.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wordfence","cpe":[{"product":"wp_dsgvo_tools","vendor":"legalweb"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"},{"id":"CWE-284","name":"Improper Access Control"}],"description":"WP DSGVO Tools (GDPR) \u003c= 3.1.23 had an AJAX action, ‘admin-dismiss-unsubscribe‘, which lacked a capability check and a nonce check and was available to unauthenticated users, and did not check the post type when deleting unsubscription requests. As such, it was possible for an attacker to permanently delete an arbitrary post or page on the site by sending an AJAX request with the “action” parameter set to “admin-dismiss-unsubscribe” and the “id” parameter set to the post to be deleted. Sending such a request would move the post to the trash, and repeating the request would permanently delete the post in question.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2021/CVE-2021-42359.yaml","stars":null,"title":"WP DSGVO Tools (GDPR) \u003c= 3.1.23 - Unauthenticated Arbitrary Post Deletion"}],"tier":"weaponised"},"has_fix":null,"headline":"WP DSGVO Tools (GDPR) \u003c= 3.1.23 Unauthenticated Arbitrary Post Deletion","id":"CVE-2021-42359","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Starter Templates — Elementor, Gutenberg \u0026 Beaver Builder Templates \u003c= 2.7.0 Authenticated Block Import to Stored XSS","id":"CVE-2021-42360"},"packages":[],"prev":{"headline":"Contact Form With Captcha \u003c= 1.6.2 Cross-Site Request Forgery to Reflected Cross-Site Scripting","id":"CVE-2021-42358"},"products":["WP DSGVO Tools (GDPR)"],"published":"2021-11-05","related":[{"cvss_score":7.2,"headline":"WP DSGVO Tools (GDPR) \u003c= 3.1.23 - Unauthenticated Stored Cross-Site Scripting","id":"CVE-2021-4358","kev_date_added":null,"published":"2023-06-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-14","vendors":["legalweb"]},"summary":"Unauthenticated attackers can permanently delete arbitrary posts or pages due to missing capability and nonce checks in an AJAX action.","url":"https://insights.sbomify.com/CVE-2021-42359/"}