{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2018-6882 in the wild since at least 19 Apr 2022, including in ransomware campaigns.","fix":"No fix has been published for CVE-2018-6882 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 10 May 2022.","what":"CVE-2018-6882 is a medium-severity cross-site scripting vulnerability in Synacor Zimbra Collaboration Suite, published on 27 Mar 2018. 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-2018-6882 and fix it if it is affected.\n\nWhat it is: CVE-2018-6882 is a medium-severity cross-site scripting vulnerability in Synacor Zimbra Collaboration Suite, published on 27 Mar 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: Yes. Attackers have exploited CVE-2018-6882 in the wild since at least 19 Apr 2022, including in ransomware campaigns.\n\nAffected product: Synacor Zimbra Collaboration Suite. 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-2018-6882/ (Markdown: https://insights.sbomify.com/CVE-2018-6882/index.md)","id":"CVE-2018-6882","markdown":"https://insights.sbomify.com/CVE-2018-6882/index.md","name":"CVE-2018-6882","record":{"aliases":["GHSA-3rrv-gxmq-5643"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Zimbra Collaboration Suite","requires_auth":"none","summary":"Remote attackers can inject arbitrary web script or HTML via a Content-Location header in email attachments, potentially compromising user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"zimbra_collaboration_suite","vendor":"synacor"}],"cvss":{"score":6.1,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/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":"Cross-site scripting (XSS) vulnerability in the ZmMailMsgView.getAttachmentLinkHtml function in Zimbra Collaboration Suite (ZCS) before 8.7 Patch 1 and 8.8.x before 8.8.7 might allow remote attackers to inject arbitrary web script or HTML via a Content-Location header in an email attachment.","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/2018/CVE-2018-6882.yaml","stars":null,"title":"Zimbra Collaboration Suite - Cross-site Scripting"}],"tier":"exploited"},"has_fix":false,"headline":"Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS)","id":"CVE-2018-6882","indexable":true,"kev":{"dateAdded":"2022-04-19","dueDate":"2022-05-10","knownRansomwareCampaignUse":"Known","product":"Zimbra Collaboration Suite (ZCS)","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Synacor","vulnerabilityName":"Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"synacor:zimbra_collaboration_suite","products":["synacor:zimbra_collaboration_suite"],"type":"xss","year":"2018"},"n_packages":0,"n_references":6,"next":{"headline":"SQL injection in n/a","id":"CVE-2018-6883"},"packages":[],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2018-6881"},"products":["n/a"],"published":"2018-03-27","related":[{"cvss_score":10,"headline":"Synacor Zimbra Collaboration Suite (ZCS) Command Execution","id":"CVE-2024-45519","kev_date_added":"2024-10-03","published":"2024-10-02"},{"cvss_score":9.8,"headline":"Synacor Zimbra Collaboration Suite (ZCS) Arbitrary File Upload","id":"CVE-2022-41352","kev_date_added":"2022-10-20","published":"2022-09-26"},{"cvss_score":9.8,"headline":"Synacor Zimbra Collaboration Suite (ZCS) Authentication Bypass","id":"CVE-2022-37042","kev_date_added":"2022-08-11","published":"2022-08-11"},{"cvss_score":9.8,"headline":"Synacor Zimbra Collaboration Suite (ZCS) Command Injection","id":"CVE-2022-27924","kev_date_added":"2022-08-04","published":"2022-04-20"},{"cvss_score":9.8,"headline":"Synacor Zimbra Collaboration Suite (ZCS) Server-Side Request Forgery","id":"CVE-2020-7796","kev_date_added":"2026-02-17","published":"2020-02-18"},{"cvss_score":9.8,"headline":"Synacor Zimbra Collaboration Suite (ZCS) Improper Restriction of XML External Entity Reference","id":"CVE-2019-9670","kev_date_added":"2022-01-10","published":"2019-05-29"},{"cvss_score":9,"headline":"Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS)","id":"CVE-2023-34192","kev_date_added":"2025-02-25","published":"2023-07-06"}],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"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":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-01","vendors":["n/a"]},"summary":"Remote attackers can inject arbitrary web script or HTML via a Content-Location header in email attachments, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2018-6882/"}