{"answers":{"affected":"3 open source packages ship an affected version, including modoboa. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-0949 exists.","fix":"Upgrade modoboa to 2.0.5 or later.","what":"CVE-2023-0949 is a medium-severity cross-site scripting vulnerability in modoboa/modoboa, published on 22 Feb 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-0949 and fix it if it is affected.\n\nWhat it is: CVE-2023-0949 is a medium-severity cross-site scripting vulnerability in modoboa/modoboa, published on 22 Feb 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-0949 exists.\n\nAffected packages and fixed versions:\n- modoboa (PyPI): affected all versions; fixed in 2.0.5\n- modoboa (PyPI): affected all versions; fixed in 2.0.5\n- modoboa (PyPI): affected all versions; fixed in 2.0.5\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-0949/ (Markdown: https://insights.sbomify.com/CVE-2023-0949/index.md)","id":"CVE-2023-0949","markdown":"https://insights.sbomify.com/CVE-2023-0949/index.md","name":"CVE-2023-0949","record":{"aliases":["GHSA-mgmm-cmhj-2h5f","PYSEC-2023-33"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Modoboa mail server","requires_auth":"high_privilege","summary":"Reflected Cross-Site Scripting in Modoboa allows attackers to execute arbitrary scripts in victim browsers, potentially leading to session hijacking or data theft.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"modoboa","vendor":"modoboa"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:H/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":"Cross-site Scripting (XSS) - Reflected in GitHub repository modoboa/modoboa prior to 2.0.5.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Cross-site Scripting (XSS) - Reflected in modoboa/modoboa","id":"CVE-2023-0949","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"Array Index UnderFlow in Calc Formula Parsing","id":"CVE-2023-0950"},"packages":[{"ecosystem":"PyPI","fixed":["2.0.5"],"introduced":["0"],"last_affected":[],"package":"modoboa","purl":null,"source":"GHSA-mgmm-cmhj-2h5f"},{"ecosystem":"PyPI","fixed":["2.0.5"],"introduced":["0"],"last_affected":[],"package":"modoboa","purl":"pkg:pypi/modoboa","source":"GHSA-mgmm-cmhj-2h5f"},{"ecosystem":"PyPI","fixed":["2.0.5"],"introduced":["0"],"last_affected":[],"package":"modoboa","purl":"pkg:pypi/modoboa","source":"PYSEC-2023-33"}],"prev":{"headline":"Japanized For WooCommerce \u003c 2.5.8 - Reflected XSS","id":"CVE-2023-0948"},"products":["modoboa/modoboa"],"published":"2023-02-22","related":[{"cvss_score":9.8,"headline":"Cross-site Scripting (XSS) - DOM in modoboa/modoboa","id":"CVE-2023-5688","kev_date_added":null,"published":"2023-10-20"},{"cvss_score":9.1,"headline":"Improper Authorization in modoboa/modoboa","id":"CVE-2023-2227","kev_date_added":null,"published":"2023-04-21"},{"cvss_score":8.6,"headline":"Authentication Bypass by Primary Weakness in modoboa/modoboa","id":"CVE-2023-0777","kev_date_added":null,"published":"2023-02-10"},{"cvss_score":7.2,"headline":"Modoboa has an OS Command Injection","id":"CVE-2026-27602","kev_date_added":null,"published":"2026-03-25"},{"cvss_score":7.1,"headline":"Cross-site Scripting (XSS) - DOM in modoboa/modoboa","id":"CVE-2023-5689","kev_date_added":null,"published":"2023-10-20"},{"cvss_score":7.1,"headline":"Cross-site Scripting (XSS) - Stored in modoboa/modoboa","id":"CVE-2023-0470","kev_date_added":null,"published":"2023-01-26"},{"cvss_score":7.1,"headline":"Cross-site Scripting (XSS) - Stored in modoboa/modoboa","id":"CVE-2023-0519","kev_date_added":null,"published":"2023-01-26"}],"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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":"2025-03-12","vendors":["modoboa"]},"summary":"Reflected Cross-Site Scripting in Modoboa allows attackers to execute arbitrary scripts in victim browsers, potentially leading to session hijacking or data theft.","url":"https://insights.sbomify.com/CVE-2023-0949/"}