{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-40632 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-40632 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-40632 is a low-severity cross-site scripting vulnerability in Icewarp Mail Server, published on 16 May 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-40632 and fix it if it is affected.\n\nWhat it is: CVE-2025-40632 is a low-severity cross-site scripting vulnerability in Icewarp Mail Server, published on 16 May 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-40632 in the wild and no public exploit code.\n\nAffected product: Icewarp Mail Server. 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-40632/ (Markdown: https://insights.sbomify.com/CVE-2025-40632/index.md)","id":"CVE-2025-40632","markdown":"https://insights.sbomify.com/CVE-2025-40632/index.md","name":"CVE-2025-40632","record":{"aliases":["GHSA-qxgw-cmmh-8chh"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","account_takeover"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"IceWarp Mail Server","requires_auth":"none","summary":"An attacker can inject malicious JavaScript via the lastLogin cookie in IceWarp Mail Server, leading to script execution in the victim's browser.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"INCIBE","cpe":[{"product":"mail_server","vendor":"icewarp"}],"cvss":{"score":2,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:A/AC:H/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Cross-site scripting (XSS) in Icewarp Mail Server affecting version 11.4.0. This vulnerability allows an attacker to modify the “lastLogin” cookie with malicious JavaScript code that will be executed when the page is rendered.","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":"Cross-site scripting (XSS) vulnerability in IceWarp Mail Server","id":"CVE-2025-40632","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"Stored Cross-Site Scripting (XSS) in Koibox","id":"CVE-2025-40633"},"packages":[],"prev":{"headline":"HTTP host header injection vulnerability in IceWarp Mail Server","id":"CVE-2025-40631"},"products":["Icewarp Mail Server"],"published":"2025-05-16","related":[{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2023-39699","kev_date_added":null,"published":"2023-08-24"},{"cvss_score":8.8,"headline":"File upload in n/a","id":"CVE-2020-14066","kev_date_added":null,"published":"2020-07-15"},{"cvss_score":7.5,"headline":"Path traversal in n/a","id":"CVE-2019-12593","kev_date_added":null,"published":"2019-06-03"},{"cvss_score":7.5,"headline":"Path traversal in n/a","id":"CVE-2015-1503","kev_date_added":null,"published":"2018-05-08"},{"cvss_score":6.5,"headline":"Missing authorization in n/a","id":"CVE-2020-14064","kev_date_added":null,"published":"2020-07-15"},{"cvss_score":6.5,"headline":"File upload in n/a","id":"CVE-2020-14065","kev_date_added":null,"published":"2020-07-15"},{"cvss_score":6.4,"headline":"XML external entity in n/a","id":"CVE-2011-3579","kev_date_added":null,"published":"2011-09-30"}],"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-05-16","vendors":["Icewarp"]},"summary":"An attacker can inject malicious JavaScript via the lastLogin cookie in IceWarp Mail Server, leading to script execution in the victim's browser.","url":"https://insights.sbomify.com/CVE-2025-40632/"}