{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-12970 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2019-12970 is a medium-severity cross-site scripting vulnerability in Squirrelmail Squirrelmail, published on 1 Jul 2019. 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-2019-12970 and fix it if it is affected.\n\nWhat it is: CVE-2019-12970 is a medium-severity cross-site scripting vulnerability in Squirrelmail Squirrelmail, published on 1 Jul 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2019-12970 in the wild and no public exploit code.\n\nAffected product: Squirrelmail Squirrelmail. 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-2019-12970/ (Markdown: https://insights.sbomify.com/CVE-2019-12970/index.md)","id":"CVE-2019-12970","markdown":"https://insights.sbomify.com/CVE-2019-12970/index.md","name":"CVE-2019-12970","record":{"aliases":["DLA-1868-1","GHSA-mc9j-h3qj-qfr9","MGASA-2021-0010","UBUNTU-CVE-2019-12970","USN-4669-1"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"SquirrelMail webmail","requires_auth":"none","summary":"Attackers can execute malicious scripts in SquirrelMail via crafted HTML emails, potentially leading to account takeover.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"squirrelmail","vendor":"squirrelmail"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"XSS was discovered in SquirrelMail through 1.4.22 and 1.5.x through 1.5.2. Due to improper handling of RCDATA and RAWTEXT type elements, the built-in sanitization mechanism can be bypassed. Malicious script content from HTML e-mail can be executed within the application context via crafted use of (for example) a NOEMBED, NOFRAMES, NOSCRIPT, or TEXTAREA element.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cross-site scripting in n/a","id":"CVE-2019-12970","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"squirrelmail:squirrelmail","products":["squirrelmail:squirrelmail"],"type":"xss","year":"2019"},"n_packages":0,"n_references":5,"next":{"headline":"File upload in n/a","id":"CVE-2019-12971"},"packages":[],"prev":{"headline":"A vulnerability was found in the Sonic Robo Blast 2 (SRB2) plugin (EP_Versions 9 to 11 inclusive) distributed with Doomseeker 1.1 and 1.2.","id":"CVE-2019-12968"},"products":["n/a"],"published":"2019-07-01","related":[{"cvss_score":10,"headline":"Command injection in n/a","id":"CVE-2002-0516","kev_date_added":null,"published":"2003-04-02"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2020-14932","kev_date_added":null,"published":"2020-06-20"},{"cvss_score":8.8,"headline":"Deserialization in n/a","id":"CVE-2020-14933","kev_date_added":null,"published":"2020-06-20"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2017-7692","kev_date_added":null,"published":"2017-04-20"},{"cvss_score":7.5,"headline":"Cross-site request forgery in n/a","id":"CVE-2007-2631","kev_date_added":null,"published":"2007-05-13"},{"cvss_score":7.5,"headline":"Code injection in n/a","id":"CVE-2006-2842","kev_date_added":null,"published":"2006-06-06"},{"cvss_score":7.5,"headline":"Cross-site request forgery in n/a","id":"CVE-2002-1648","kev_date_added":null,"published":"2005-03-28"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can execute malicious scripts in SquirrelMail via crafted HTML emails, potentially leading to account takeover.","url":"https://insights.sbomify.com/CVE-2019-12970/"}