{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-4180 exists.","fix":"No fix has been published for CVE-2024-4180 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-4180 is a critical cross-site scripting vulnerability in Unknown The Events Calendar, published on 4 Jun 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-4180 and fix it if it is affected.\n\nWhat it is: CVE-2024-4180 is a critical cross-site scripting vulnerability in Unknown The Events Calendar, published on 4 Jun 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-4180 exists.\n\nAffected product: Unknown The Events Calendar. 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-4180/ (Markdown: https://insights.sbomify.com/CVE-2024-4180/index.md)","id":"CVE-2024-4180","markdown":"https://insights.sbomify.com/CVE-2024-4180/index.md","name":"CVE-2024-4180","record":{"aliases":["GHSA-g32g-9438-h47q"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"Attackers can execute arbitrary scripts in victim browsers via unsanitized AJAX inputs in The Events Calendar plugin.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"the_events_calendar","vendor":"stellarwp"}],"cvss":{"score":9.1,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"The Events Calendar WordPress plugin before 6.4.0.1 does not properly sanitize user-submitted content when rendering some views via AJAX.","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-4180.yaml","stars":null,"title":"The Events Calendar \u003c 6.4.0.1 - Cross-site Scripting"}],"tier":"weaponised"},"has_fix":null,"headline":"The Events Calendar \u003c 6.4.0.1 - Reflected XSS","id":"CVE-2024-4180","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Command Injection in run-llama/llama_index","id":"CVE-2024-4181"},"packages":[],"prev":{"headline":"Host whitelist parser issue in GravityZone Console On-Premise (VA-11554)","id":"CVE-2024-4177"},"products":["The Events Calendar"],"published":"2024-06-04","related":[{"cvss_score":9.8,"headline":"The Events Calendar \u003c= 6.6.4 - Unauthenticated SQL Injection","id":"CVE-2024-8275","kev_date_added":null,"published":"2024-09-25"},{"cvss_score":7.5,"headline":"The Events Calendar \u003c 6.2.8.1 - Unauthenticated Arbitrary Password Protected Post Read","id":"CVE-2023-6203","kev_date_added":null,"published":"2023-12-18"},{"cvss_score":7.2,"headline":"The Events Calendar \u003c= 6.6.3 - Unauthenticated Stored Cross-Site Scripting","id":"CVE-2024-6931","kev_date_added":null,"published":"2024-09-27"},{"cvss_score":6.4,"headline":"The Events Calendar \u003c= 6.13.2 - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting","id":"CVE-2025-5144","kev_date_added":null,"published":"2025-06-11"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2019-15109","kev_date_added":null,"published":"2019-08-21"},{"cvss_score":5.3,"headline":"The Events Calendar \u003c 6.8.2.1 - Unauthenticated Password Protected Event Disclosure","id":"CVE-2024-5333","kev_date_added":null,"published":"2024-12-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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-18","vendors":["Unknown"]},"summary":"Attackers can execute arbitrary scripts in victim browsers via unsanitized AJAX inputs in The Events Calendar plugin.","url":"https://insights.sbomify.com/CVE-2024-4180/"}