{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9796 exists.","fix":"No fix has been published for CVE-2024-9796 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-9796 is a medium-severity SQL injection vulnerability in Unknown WP-Advanced-Search, published on 10 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-9796 and fix it if it is affected.\n\nWhat it is: CVE-2024-9796 is a medium-severity SQL injection vulnerability in Unknown WP-Advanced-Search, published on 10 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9796 exists.\n\nAffected product: Unknown WP-Advanced-Search. 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-9796/ (Markdown: https://insights.sbomify.com/CVE-2024-9796/index.md)","id":"CVE-2024-9796","markdown":"https://insights.sbomify.com/CVE-2024-9796/index.md","name":"CVE-2024-9796","record":{"aliases":["GHSA-hxx7-vhm6-3427"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"Unauthenticated attackers can perform SQL injection via the t parameter in WP-Advanced-Search, potentially reading or modifying database contents.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"wp-advanced-search","vendor":"internet-formation"}],"cvss":{"score":5.9,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"The WP-Advanced-Search WordPress plugin before 3.3.9.2 does not sanitize and escape the t parameter before using it in a SQL statement, allowing unauthenticated users to perform SQL injection attacks","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2024-10-18","github_poc":4,"max_poc_stars":4,"metasploit":0,"nuclei":1,"refs":[{"date":"2024-10-18T14:30:42Z","kind":"github_poc","ref":"https://github.com/RandomRobbieBF/CVE-2024-9796","stars":4,"title":"WordPress WP-Advanced-Search \u003c= 3.3.9 - Unauthenticated SQL Injection"},{"date":"2025-06-20T18:00:40Z","kind":"github_poc","ref":"https://github.com/BwithE/CVE-2024-9796","stars":4,"title":"CVE-2024-9796 WP-Advanced-Search \u003c 3.3.9.2 - Unauthenticated SQL Injection. Poc."},{"date":"2026-01-25T22:47:51Z","kind":"github_poc","ref":"https://github.com/yup-Ivan/CVE-2024-9796","stars":3,"title":"POC (SQLi) -\u003e CVE-2024-9796"},{"date":"2025-01-19T18:40:57Z","kind":"github_poc","ref":"https://github.com/viniciuslazzari/CVE-2024-9796","stars":1,"title":"Vulnerable website to the CVE-2024-9796"},{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-9796.yaml","stars":null,"title":"WordPress WP-Advanced-Search \u003c= 3.3.9 - SQL Injection"}],"tier":"weaponised"},"has_fix":null,"headline":"WP-Advanced-Search \u003c 3.3.9.2 - Unauthenticated SQL Injection","id":"CVE-2024-9796","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"code-projects Blood Bank System register.php sql injection","id":"CVE-2024-9797"},"packages":[],"prev":{"headline":"Codezips Online Shopping Portal update-image1.php unrestricted upload","id":"CVE-2024-9794"},"products":["WP-Advanced-Search"],"published":"2024-10-10","related":[{"cvss_score":8.8,"headline":"SQL injection in n/a","id":"CVE-2020-12104","kev_date_added":null,"published":"2020-05-05"},{"cvss_score":4.3,"headline":"WordPress WP-Advanced-Search Plugin \u003c= 3.3.8 is vulnerable to Cross Site Request Forgery (CSRF)","id":"CVE-2022-47447","kev_date_added":null,"published":"2023-05-24"},{"cvss_score":3.5,"headline":"WP-Advanced-Search \u003c 3.3.9.3 - Admin+ Stored XSS","id":"CVE-2024-10554","kev_date_added":null,"published":"2025-03-25"}],"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"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-10-10","vendors":["Unknown"]},"summary":"Unauthenticated attackers can perform SQL injection via the t parameter in WP-Advanced-Search, potentially reading or modifying database contents.","url":"https://insights.sbomify.com/CVE-2024-9796/"}