{"answers":{"affected":"2 open source packages ship an affected version, including impresscms/impresscms. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-37785 exists.","fix":"No fix has been published for CVE-2023-37785 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-37785 is a medium-severity cross-site scripting vulnerability in n/a, published on 13 Jul 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-37785 and fix it if it is affected.\n\nWhat it is: CVE-2023-37785 is a medium-severity cross-site scripting vulnerability in n/a, published on 13 Jul 2023. An attacker needs administrator access to exploit it, 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-2023-37785 exists.\n\nAffected packages and fixed versions:\n- impresscms/impresscms (Packagist): affected all versions up to 1.4.5; no fix listed\n- impresscms/impresscms (Packagist): affected all versions up to 1.4.5; no fix listed\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-2023-37785/ (Markdown: https://insights.sbomify.com/CVE-2023-37785/index.md)","id":"CVE-2023-37785","markdown":"https://insights.sbomify.com/CVE-2023-37785/index.md","name":"CVE-2023-37785","record":{"aliases":["GHSA-667r-p4gg-7m2q"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"ImpressCMS","requires_auth":"high_privilege","summary":"Attackers can execute arbitrary scripts via XSS in ImpressCMS profile editing, potentially compromising user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"impresscms","vendor":"impresscms"}],"cvss":{"score":4.8,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:H/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":"A cross-site scripting (XSS) vulnerability in ImpressCMS v1.4.5 and before allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the smile_code parameter of the component /editprofile.php.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"ImpressCMS Cross-site Scripting vulnerability","id":"CVE-2023-37785","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2023"},"n_packages":2,"n_references":1,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2023-37786"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["1.4.5"],"package":"impresscms/impresscms","purl":null,"source":"GHSA-667r-p4gg-7m2q"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["1.4.5"],"package":"impresscms/impresscms","purl":"pkg:composer/impresscms/impresscms","source":"GHSA-667r-p4gg-7m2q"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2023-37781"},"products":["n/a"],"published":"2023-07-13","related":[{"cvss_score":10,"headline":"Multiple unspecified vulnerabilities in ImpressCMS 1.0 have unknown impact and attack vectors, related to modules/admin.php and \"a few files","id":"CVE-2008-3453","kev_date_added":null,"published":"2008-08-04"},{"cvss_score":9.8,"headline":"SQL Injection in ImpressCMS","id":"CVE-2021-26599","kev_date_added":null,"published":"2022-03-28"},{"cvss_score":9.8,"headline":"Type Confusion in ImpressCMS","id":"CVE-2021-26600","kev_date_added":null,"published":"2022-03-28"},{"cvss_score":9.8,"headline":"Path Traversal in ImpressCMS","id":"CVE-2022-24977","kev_date_added":null,"published":"2022-02-13"},{"cvss_score":9.3,"headline":"ImpressCMS 1.4.4 - Unrestricted File Upload","id":"CVE-2022-50912","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":8.1,"headline":"Path Traversal in ImpressCMS","id":"CVE-2021-26601","kev_date_added":null,"published":"2022-03-28"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2010-4271","kev_date_added":null,"published":"2010-11-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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":"2024-10-30","vendors":["n/a"]},"summary":"Attackers can execute arbitrary scripts via XSS in ImpressCMS profile editing, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2023-37785/"}