{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9838 exists.","fix":"No fix has been published for CVE-2024-9838 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-9838 is a medium-severity SQL injection vulnerability in Unknown Auto Affiliate Links, published on 15 May 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-9838 and fix it if it is affected.\n\nWhat it is: CVE-2024-9838 is a medium-severity SQL injection vulnerability in Unknown Auto Affiliate Links, published on 15 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9838 exists.\n\nAffected product: Unknown Auto Affiliate Links. 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-9838/ (Markdown: https://insights.sbomify.com/CVE-2024-9838/index.md)","id":"CVE-2024-9838","markdown":"https://insights.sbomify.com/CVE-2024-9838/index.md","name":"CVE-2024-9838","record":{"aliases":["GHSA-28cc-3w24-mfvx"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"low_privilege","summary":"Administrators can perform SQL injection attacks in the Auto Affiliate Links WordPress plugin due to unsanitized parameters.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"auto_affiliate_links","vendor":"flamescorpion"}],"cvss":{"score":5.4,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"The Auto Affiliate Links WordPress plugin before 6.4.7 does not sanitize and escape a parameter before using it in a SQL statement, allowing admins to perform SQL injection attacks","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"Auto Affiliate Links \u003c 6.4.7 - Admin+ SQL Injection","id":"CVE-2024-9838","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":"Uix Slideshow \u003c= 1.6.5 - Unauthenticated Arbitrary Shortcode Execution","id":"CVE-2024-9839"},"packages":[],"prev":{"headline":"AADMY – Add Auto Date Month Year Into Posts \u003c= 2.0.1 - Unauthenticated Arbitrary Shortcode Execution","id":"CVE-2024-9837"},"products":["Auto Affiliate Links"],"published":"2025-05-15","related":[{"cvss_score":7.1,"headline":"WordPress Auto Affiliate Links Plugin \u003c= 6.4.2.4 is vulnerable to Cross Site Request Forgery (CSRF)","id":"CVE-2023-47652","kev_date_added":null,"published":"2023-11-13"},{"cvss_score":5.4,"headline":"WordPress Auto Affiliate Links Plugin \u003c= 6.3 is vulnerable to Broken Access Control","id":"CVE-2023-22689","kev_date_added":null,"published":"2023-05-20"},{"cvss_score":5.4,"headline":"WordPress Auto Affiliate Links Plugin \u003c= 6.3.0.2 is vulnerable to Cross Site Request Forgery (CSRF)","id":"CVE-2023-25973","kev_date_added":null,"published":"2023-03-13"},{"cvss_score":4.3,"headline":"Auto Affiliate Links \u003c= 6.4.3 - Missing Authorization via aalAddLink","id":"CVE-2024-1843","kev_date_added":null,"published":"2024-03-13"}],"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-16","vendors":["Unknown"]},"summary":"Administrators can perform SQL injection attacks in the Auto Affiliate Links WordPress plugin due to unsanitized parameters.","url":"https://insights.sbomify.com/CVE-2024-9838/"}