{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-40746 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-40746 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-40746 is a medium-severity cross-site scripting vulnerability in hikashop.com HikaShop component for Joomla, published on 21 Oct 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-40746 and fix it if it is affected.\n\nWhat it is: CVE-2024-40746 is a medium-severity cross-site scripting vulnerability in hikashop.com HikaShop component for Joomla, published on 21 Oct 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-40746 in the wild and no public exploit code.\n\nAffected product: hikashop.com HikaShop component for Joomla. 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-40746/ (Markdown: https://insights.sbomify.com/CVE-2024-40746/index.md)","id":"CVE-2024-40746","markdown":"https://insights.sbomify.com/CVE-2024-40746/index.md","name":"CVE-2024-40746","record":{"aliases":["GHSA-57xc-4245-hh9c"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Joomla e-commerce plugin","requires_auth":"low_privilege","summary":"Remote attackers can execute arbitrary JavaScript in user browsers via unsanitized product descriptions in the HikaShop Joomla component.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Joomla","cpe":[{"product":"hikashop","vendor":"hikashop"}],"cvss":{"score":5.4,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"A stored cross-site scripting (XSS) vulnerability in HikaShop Joomla Component \u003c 5.1.1 allows remote attackers to execute arbitrary JavaScript in the web browser of a user, by including a malicious payload in the `description` parameter of any product. The `description `parameter is not sanitised in the backend.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Extension - hikashop.com - Stored cross site scripting vulnerability in Hikashop component for Joomla \u003c 5.1.1","id":"CVE-2024-40746","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"[20250101] - Core - XSS vectors in module chromes","id":"CVE-2024-40747"},"packages":[],"prev":{"headline":"Extension - tassos.gr - Reflected Cross site scripting vulnerability in Convert Forms component for Joomla \u003c 4.4.8","id":"CVE-2024-40745"},"products":["HikaShop component for Joomla"],"published":"2024-10-21","related":[{"cvss_score":9.8,"headline":"Extension - hikashop.com - SQLi in HikaShop component for Joomla \u003c= 4.7.2","id":"CVE-2023-38044","kev_date_added":null,"published":"2023-08-07"},{"cvss_score":7.2,"headline":"Extension - hikashop.com - SQL injection in Hikashop component version 3.3.0 - 5.1.4 for Joomla","id":"CVE-2025-22210","kev_date_added":null,"published":"2025-02-25"},{"cvss_score":6.5,"headline":"Extension - hikashop.com - Privilege escalation vulnerability Hikashop component version 1.0.0 - 5.1.3 for Joomla","id":"CVE-2025-25225","kev_date_added":null,"published":"2025-03-15"},{"cvss_score":4.8,"headline":"Cross-site scripting in n/a","id":"CVE-2015-7344","kev_date_added":null,"published":"2020-03-09"}],"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-20","vendors":["hikashop.com"]},"summary":"Remote attackers can execute arbitrary JavaScript in user browsers via unsanitized product descriptions in the HikaShop Joomla component.","url":"https://insights.sbomify.com/CVE-2024-40746/"}