{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59412 exists.","fix":"No fix has been published for CVE-2025-59412 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-59412 is a medium-severity cross-site scripting vulnerability in cubecart v6, published on 22 Sep 2025. 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-2025-59412 and fix it if it is affected.\n\nWhat it is: CVE-2025-59412 is a medium-severity cross-site scripting vulnerability in cubecart v6, published on 22 Sep 2025. Any signed-in user can exploit it over the network, 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-2025-59412 exists.\n\nAffected product: cubecart v6. 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-2025-59412/ (Markdown: https://insights.sbomify.com/CVE-2025-59412/index.md)","id":"CVE-2025-59412","markdown":"https://insights.sbomify.com/CVE-2025-59412/index.md","name":"CVE-2025-59412","record":{"aliases":["GHSA-qfrx-vvvp-h5m2"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Ecommerce software","requires_auth":"low_privilege","summary":"Attackers can inject HTML into product reviews to deface pages or redirect users, requiring an admin to approve the review first.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cubecart","vendor":"cubecart"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","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":"CubeCart is an ecommerce software solution. Prior to version 6.5.11, a vulnerability exists in the product reviews feature where user-supplied input is not properly sanitized before being displayed. An attacker can submit HTML tags inside the review description field. Once the administrator approves the review, the injected HTML is rendered on the product page for all visitors. This could be used to redirect users to malicious websites or to display unwanted content. This issue has been patched in version 6.5.11.","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":"CubeCart Vulnerable to HTML Injection in Product Reviews Allows Malicious Links and Defacement","id":"CVE-2025-59412","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"CubeCart Unauthorized Newsletter Unsubscription via force_unsubscribe Parameter","id":"CVE-2025-59413"},"packages":[],"prev":{"headline":"CubeCart Stored/Reflected HTML Injection Vulnerability in Contact Enquiry","id":"CVE-2025-59411"},"products":["v6"],"published":"2025-09-22","related":[{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2024-34832","kev_date_added":null,"published":"2024-06-06"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2018-20716","kev_date_added":null,"published":"2019-01-15"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2013-1465","kev_date_added":null,"published":"2013-02-08"},{"cvss_score":8.6,"headline":"Command injection in CubeCart","id":"CVE-2026-21719","kev_date_added":null,"published":"2026-04-17"},{"cvss_score":8.1,"headline":"Cross-site request forgery in CubeCart","id":"CVE-2023-38130","kev_date_added":null,"published":"2023-11-17"},{"cvss_score":8,"headline":"File upload in n/a","id":"CVE-2024-33438","kev_date_added":null,"published":"2024-04-29"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2010-4903","kev_date_added":null,"published":"2011-10-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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-09-22","vendors":["cubecart"]},"summary":"Attackers can inject HTML into product reviews to deface pages or redirect users, requiring an admin to approve the review first.","url":"https://insights.sbomify.com/CVE-2025-59412/"}