{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9161 exists.","fix":"No fix has been published for CVE-2024-9161 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-9161 is a medium-severity missing authorization vulnerability in rankmath Rank Math SEO – AI SEO Tools to Dominate SEO Rankings, published on 5 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-9161 and fix it if it is affected.\n\nWhat it is: CVE-2024-9161 is a medium-severity missing authorization vulnerability in rankmath Rank Math SEO – AI SEO Tools to Dominate SEO Rankings, published on 5 Oct 2024. 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-2024-9161 exists.\n\nAffected product: rankmath Rank Math SEO – AI SEO Tools to Dominate SEO Rankings. 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-2024-9161/ (Markdown: https://insights.sbomify.com/CVE-2024-9161/index.md)","id":"CVE-2024-9161","markdown":"https://insights.sbomify.com/CVE-2024-9161/index.md","name":"CVE-2024-9161","record":{"aliases":["GHSA-rxpx-fpwf-9q46"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_modify","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"Unauthenticated attackers can modify or delete user and term metadata, potentially locking administrators out of the dashboard.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wordfence","cpe":[{"product":"seo","vendor":"rankmath"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"description":"The Rank Math SEO – AI SEO Tools to Dominate SEO Rankings plugin for WordPress is vulnerable to unauthorized modification and loss of data due to a missing capability check on the 'update_metadata' function in all versions up to, and including, 1.0.228. This makes it possible for unauthenticated attackers to insert new and update existing metadata beginning with 'rank_math', and delete arbitrary existing user metadata and term metadata. Deleting existing usermeta can cause a loss of access to the administrator dashboard for any registered users, including Administrators.","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/2024/CVE-2024-9161.yaml","stars":null,"title":"Rank Math SEO \u003c 1.0.229 - Unauthenticated User and Term Metadata Insert/Update/Deletion"}],"tier":"weaponised"},"has_fix":null,"headline":"Missing authorization in Rank Math SEO – AI SEO Tools to Dominate SEO Rankings","id":"CVE-2024-9161","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":0,"n_references":6,"next":{"headline":"All-in-One WP Migration and Backup \u003c= 7.86 - Authenticated (Administrator+) Arbitrary PHP Code Injection","id":"CVE-2024-9162"},"packages":[],"prev":{"headline":"Security Misconfiguration in Forge module PEADM","id":"CVE-2024-9160"},"products":["Rank Math SEO – AI SEO Tools to Dominate SEO Rankings"],"published":"2024-10-05","related":[{"cvss_score":9.8,"headline":"Missing authorization in n/a","id":"CVE-2020-11514","kev_date_added":null,"published":"2020-04-07"},{"cvss_score":7.6,"headline":"WordPress Rank Math SEO plugin \u003c= 1.0.107.2 - Local File Inclusion vulnerability","id":"CVE-2023-23888","kev_date_added":null,"published":"2024-05-17"},{"cvss_score":7.2,"headline":"Rank Math SEO – AI SEO Tools to Dominate SEO Rankings \u003c= 1.0.228 - Authenticated (Administrator+) PHP Object Injection","id":"CVE-2024-9314","kev_date_added":null,"published":"2024-10-05"},{"cvss_score":6.8,"headline":"WordPress Rank Math SEO plugin \u003c= 1.0.95 - Server-Side Request Forgery (SSRF) vulnerability","id":"CVE-2022-36376","kev_date_added":null,"published":"2022-09-09"},{"cvss_score":6.5,"headline":"WordPress Rank Math SEO Plugin \u003c= 1.0.119 is vulnerable to Cross Site Scripting (XSS)","id":"CVE-2023-32600","kev_date_added":null,"published":"2023-08-05"},{"cvss_score":6.5,"headline":"Missing authorization in n/a","id":"CVE-2019-14786","kev_date_added":null,"published":"2019-08-15"}],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-08","vendors":["rankmath"]},"summary":"Unauthenticated attackers can modify or delete user and term metadata, potentially locking administrators out of the dashboard.","url":"https://insights.sbomify.com/CVE-2024-9161/"}