{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-4704 exists.","fix":"No fix has been published for CVE-2024-4704 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-4704 is a medium-severity vulnerability in Unknown Contact Form 7, published on 27 Jun 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-4704 and fix it if it is affected.\n\nWhat it is: CVE-2024-4704 is a medium-severity vulnerability in Unknown Contact Form 7, published on 27 Jun 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-4704 exists.\n\nAffected product: Unknown Contact Form 7. 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-4704/ (Markdown: https://insights.sbomify.com/CVE-2024-4704/index.md)","id":"CVE-2024-4704","markdown":"https://insights.sbomify.com/CVE-2024-4704/index.md","name":"CVE-2024-4704","record":{"aliases":["GHSA-3w26-g558-6q3x"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"An unauthenticated attacker can redirect users to malicious URLs via the Contact Form 7 plugin, potentially facilitating phishing attacks.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"contact_form_7","vendor":"rocklobster"}],"cvss":{"score":6.1,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"The Contact Form 7 WordPress plugin before 5.9.5 has an open redirect that allows an attacker to utilize a false URL and redirect to the URL of their choosing.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Contact Form 7 \u003c 5.9.5 - Unauthenticated Open Redirect","id":"CVE-2024-4704","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"open_redirect","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Testimonials Widget \u003c= 4.0.4 - Authenticated (Author+) Stored Cross-Site Scripting via testimonials Shortcode","id":"CVE-2024-4705"},"packages":[],"prev":{"headline":"Cross-site scripting in One Page Express Companion","id":"CVE-2024-4703"},"products":["Contact Form 7"],"published":"2024-06-27","related":[{"cvss_score":10,"headline":"File upload in n/a","id":"CVE-2020-35489","kev_date_added":null,"published":"2020-12-17"},{"cvss_score":9.8,"headline":"Privilege escalation in n/a","id":"CVE-2018-20979","kev_date_added":null,"published":"2019-08-22"},{"cvss_score":8.8,"headline":"Contact Form 7 Style \u003c= 3.1.9 - Cross-Site Request Forgery to Stored Cross-Site Scripting","id":"CVE-2021-24159","kev_date_added":null,"published":"2021-04-05"},{"cvss_score":6.6,"headline":"Contact Form 7 \u003c= 5.8.3 - Authenticated (Editor+) Arbitrary File Upload","id":"CVE-2023-6449","kev_date_added":null,"published":"2023-12-01"},{"cvss_score":6.1,"headline":"Contact Form 7 \u003c= 5.9 - Reflected Cross-Site Scripting","id":"CVE-2024-2242","kev_date_added":null,"published":"2024-03-13"},{"cvss_score":5.3,"headline":"Contact Form 7 \u003c= 6.0.5 - Order Replay Vulnerability","id":"CVE-2025-3247","kev_date_added":null,"published":"2025-04-16"}],"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["Unknown"]},"summary":"An unauthenticated attacker can redirect users to malicious URLs via the Contact Form 7 plugin, potentially facilitating phishing attacks.","url":"https://insights.sbomify.com/CVE-2024-4704/"}