{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3142 exists.","fix":"No fix has been published for CVE-2022-3142 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-3142 is a high-severity SQL injection vulnerability in Unknown NEX-Forms – Ultimate Form Builder – Contact forms and much more, published on 19 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-3142 and fix it if it is affected.\n\nWhat it is: CVE-2022-3142 is a high-severity SQL injection vulnerability in Unknown NEX-Forms – Ultimate Form Builder – Contact forms and much more, published on 19 Sep 2022. 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-2022-3142 exists.\n\nAffected product: Unknown NEX-Forms – Ultimate Form Builder – Contact forms and much more. 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-2022-3142/ (Markdown: https://insights.sbomify.com/CVE-2022-3142/index.md)","id":"CVE-2022-3142","markdown":"https://insights.sbomify.com/CVE-2022-3142/index.md","name":"CVE-2022-3142","record":{"aliases":["GHSA-5www-q64q-vx68"],"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":"Authenticated attackers with form statistics access can execute SQL injection attacks in the NEX-Forms WordPress plugin to read or modify database contents.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"nex-forms","vendor":"basixonline"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"The NEX-Forms WordPress plugin before 7.9.7 does not properly sanitise and escape user input before using it in SQL statements, leading to SQL injections. The attack can be executed by anyone who is permitted to view the forms statistics chart, by default administrators, however can be configured otherwise via the plugin settings.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2023-03-25","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":"2023-03-25","kind":"exploitdb","ref":"51042","stars":null,"title":"NEX-Forms WordPress plugin \u003c 7.9.7 - Authenticated SQLi"},{"date":null,"kind":"nuclei","ref":"http/cves/2022/CVE-2022-3142.yaml","stars":null,"title":"NEX-Forms Plugin \u003c 7.9.7 - SQL Injection"}],"tier":"weaponised"},"has_fix":null,"headline":"NEX-Forms \u003c 7.9.7 - Authenticated SQLi","id":"CVE-2022-3142","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"Wildfly-elytron possibly vulnerable to timing attacks via use of unsafe comparator","id":"CVE-2022-3143"},"packages":[],"prev":{"headline":"Translatepress Multilinugal \u003c 2.3.3 - Admin+ SQLi","id":"CVE-2022-3141"},"products":["NEX-Forms – Ultimate Form Builder – Contact forms and much more"],"published":"2022-09-19","related":[{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2015-9452","kev_date_added":null,"published":"2019-10-07"},{"cvss_score":8.5,"headline":"WordPress NEX-Forms plugin \u003c= 8.7.8 - SQL Injection vulnerability","id":"CVE-2024-53808","kev_date_added":null,"published":"2024-12-06"},{"cvss_score":7.6,"headline":"WordPress NEX-Forms – Ultimate Form Builder Plugin \u003c= 8.5.5 is vulnerable to SQL Injection","id":"CVE-2023-50838","kev_date_added":null,"published":"2023-12-28"},{"cvss_score":7.5,"headline":"Auth bypass in n/a","id":"CVE-2021-34675","kev_date_added":null,"published":"2021-07-19"},{"cvss_score":7.5,"headline":"Auth bypass in n/a","id":"CVE-2021-34676","kev_date_added":null,"published":"2021-07-19"},{"cvss_score":7.2,"headline":"NEX-Forms \u003c 8.4 - Admin+ SQL Injection","id":"CVE-2023-2114","kev_date_added":null,"published":"2023-05-08"}],"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":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Unknown"]},"summary":"Authenticated attackers with form statistics access can execute SQL injection attacks in the NEX-Forms WordPress plugin to read or modify database contents.","url":"https://insights.sbomify.com/CVE-2022-3142/"}