{"answers":{"affected":"1 open source package ship an affected version, including odoo. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-45071 in the wild and no public exploit code.","fix":"Upgrade odoo to 15.0.1 or later.","what":"CVE-2021-45071 is a medium-severity cross-site scripting vulnerability in Odoo Odoo, published on 25 Apr 2023. 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-2021-45071 and fix it if it is affected.\n\nWhat it is: CVE-2021-45071 is a medium-severity cross-site scripting vulnerability in Odoo Odoo, published on 25 Apr 2023. 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-2021-45071 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- odoo (Bitnami): affected all versions; fixed in 15.0.1\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-2021-45071/ (Markdown: https://insights.sbomify.com/CVE-2021-45071/index.md)","id":"CVE-2021-45071","markdown":"https://insights.sbomify.com/CVE-2021-45071/index.md","name":"CVE-2021-45071","record":{"aliases":["BIT-odoo-2021-45071","DEBIAN-CVE-2021-45071","GHSA-gqc6-9j5g-4r72","UBUNTU-CVE-2021-45071"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Odoo ERP","requires_auth":"none","summary":"Remote attackers can inject arbitrary web script into victim browsers via crafted uploaded file names in Odoo Community and Enterprise.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"odoo","cpe":[{"product":"odoo","vendor":"odoo"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Cross-site scripting (XSS) issue Odoo Community 15.0 and earlier and Odoo Enterprise 15.0 and earlier, allows remote attackers to inject arbitrary web script in the browser of a victim, via crafted uploaded file names.","ecosystems":["Bitnami"],"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 Odoo Community","id":"CVE-2021-45071","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"odoo:odoo","products":["odoo:odoo"],"type":"xss","year":"2021"},"n_packages":1,"n_references":2,"next":{"headline":"Missing authorization in JFrog Artifactory","id":"CVE-2021-45074"},"packages":[{"ecosystem":"Bitnami","fixed":["15.0.1"],"introduced":["0"],"last_affected":[],"package":"odoo","purl":"pkg:bitnami/odoo","source":"BIT-odoo-2021-45071"}],"prev":{"headline":"Adobe Acrobat Reader DC Font Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability","id":"CVE-2021-45068"},"products":["Odoo Community","Odoo Enterprise"],"published":"2023-04-25","related":[{"cvss_score":9.9,"headline":"Code injection in Odoo Community","id":"CVE-2020-29396","kev_date_added":null,"published":"2020-12-22"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2018-14885","kev_date_added":null,"published":"2019-06-28"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2017-10804","kev_date_added":null,"published":"2017-07-04"},{"cvss_score":9.1,"headline":"Code injection in n/a","id":"CVE-2018-14860","kev_date_added":null,"published":"2019-07-03"},{"cvss_score":8.8,"headline":"Auth bypass in n/a","id":"CVE-2017-10805","kev_date_added":null,"published":"2017-07-04"},{"cvss_score":8.7,"headline":"Path traversal in Odoo Community","id":"CVE-2021-23166","kev_date_added":null,"published":"2023-04-25"},{"cvss_score":8.7,"headline":"Missing authorization in Odoo Community","id":"CVE-2021-23186","kev_date_added":null,"published":"2023-04-25"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Odoo"]},"summary":"Remote attackers can inject arbitrary web script into victim browsers via crafted uploaded file names in Odoo Community and Enterprise.","url":"https://insights.sbomify.com/CVE-2021-45071/"}