{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0591 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2004-0591 is a medium-severity cross-site scripting vulnerability in n/a, published on 24 Jun 2004. 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-2004-0591 and fix it if it is affected.\n\nWhat it is: CVE-2004-0591 is a medium-severity cross-site scripting vulnerability in n/a, published on 24 Jun 2004. 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-2004-0591 exists.\n\nAffected product: n/a. 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-2004-0591/ (Markdown: https://insights.sbomify.com/CVE-2004-0591/index.md)","id":"CVE-2004-0591","markdown":"https://insights.sbomify.com/CVE-2004-0591/index.md","name":"CVE-2004-0591","record":{"aliases":["DEBIAN-CVE-2004-0591","DSA-533","GHSA-986j-hw45-768j"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"SqWebMail webmail","requires_auth":"none","summary":"Remote attackers can inject arbitrary web script via email headers or specific MIME types in SqWebMail, requiring user interaction to execute.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"sqwebmail","vendor":"inter7"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"Cross-site scripting (XSS) vulnerability in the print_header_uc function for SqWebMail 4.0.4 and earlier, and possibly 3.x, allows remote attackers to inject arbitrary web script or HRML via (1) e-mail headers or (2) a message with a \"message/delivery-status\" MIME Content-Type.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2004-06-21","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2004-06-21","kind":"exploitdb","ref":"24227","stars":null,"title":"SqWebMail 4.0.4.20040524 - Email Header HTML Injection"}],"tier":"weaponised"},"has_fix":true,"headline":"Cross-site scripting in n/a","id":"CVE-2004-0591","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2004"},"n_packages":0,"n_references":6,"next":{"headline":"Integer overflow in n/a","id":"CVE-2004-0592"},"packages":[],"prev":{"headline":"Auth bypass in n/a","id":"CVE-2004-0590"},"products":["n/a"],"published":"2004-06-24","related":[{"cvss_score":7.5,"headline":"Cross-site scripting in n/a","id":"CVE-2005-1308","kev_date_added":null,"published":"2005-04-27"},{"cvss_score":5,"headline":"Information disclosure in n/a","id":"CVE-2004-2313","kev_date_added":null,"published":"2005-08-16"},{"cvss_score":4.3,"headline":"Cross-site scripting in n/a","id":"CVE-2005-2820","kev_date_added":null,"published":"2005-09-07"},{"cvss_score":4.3,"headline":"Cross-site scripting in n/a","id":"CVE-2005-2769","kev_date_added":null,"published":"2005-09-02"},{"cvss_score":4.3,"headline":"Cross-site scripting in n/a","id":"CVE-2005-2724","kev_date_added":null,"published":"2005-08-29"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"Remote attackers can inject arbitrary web script via email headers or specific MIME types in SqWebMail, requiring user interaction to execute.","url":"https://insights.sbomify.com/CVE-2004-0591/"}