{"answers":{"affected":"4 open source packages ship an affected version, including oro/platform. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-43852 in the wild and no public exploit code.","fix":"Upgrade oro/platform to a fixed version for your release line: 4.1.14 or 4.2.8.","what":"CVE-2021-43852 is a high-severity code injection vulnerability in oroinc platform, published on 4 Jan 2022. 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-43852 and fix it if it is affected.\n\nWhat it is: CVE-2021-43852 is a high-severity code injection vulnerability in oroinc platform, published on 4 Jan 2022. 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-43852 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- oro/platform (Packagist): affected from 4.1.0; fixed in 4.1.14\n- oro/platform (Packagist): affected from 4.1.0; fixed in 4.1.14\n- oro/platform (Packagist): affected from 4.2.0; fixed in 4.2.8\n- oro/platform (Packagist): affected from 4.2.0; fixed in 4.2.8\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-43852/ (Markdown: https://insights.sbomify.com/CVE-2021-43852/index.md)","id":"CVE-2021-43852","markdown":"https://insights.sbomify.com/CVE-2021-43852/index.md","name":"CVE-2021-43852","record":{"aliases":["GHSA-jx5q-g37m-h5hj"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"OroPlatform","requires_auth":"none","summary":"Attackers can inject properties into JavaScript prototypes via crafted requests, potentially leading to code execution in vulnerable libraries.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"oroplatform","vendor":"oroinc"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"},{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"OroPlatform is a PHP Business Application Platform. In affected versions by sending a specially crafted request, an attacker could inject properties into existing JavaScript language construct prototypes, such as objects. Later this injection may lead to JS code execution by libraries that are vulnerable to Prototype Pollution. This issue has been patched in version 4.2.8. Users unable to upgrade may configure a firewall to drop requests containing next strings: `__proto__` , `constructor[prototype]`, and `constructor.prototype` to mitigate this issue.","ecosystems":["Packagist"],"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":"JavaScript Prototype Pollution in oro/platform","id":"CVE-2021-43852","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"code_injection","year":"2021"},"n_packages":4,"n_references":2,"next":{"headline":"Cross-Site Scripting in AjaxNetProfessional","id":"CVE-2021-43853"},"packages":[{"ecosystem":"Packagist","fixed":["4.1.14"],"introduced":["4.1.0"],"last_affected":[],"package":"oro/platform","purl":null,"source":"GHSA-jx5q-g37m-h5hj"},{"ecosystem":"Packagist","fixed":["4.1.14"],"introduced":["4.1.0"],"last_affected":[],"package":"oro/platform","purl":"pkg:composer/oro/platform","source":"GHSA-jx5q-g37m-h5hj"},{"ecosystem":"Packagist","fixed":["4.2.8"],"introduced":["4.2.0"],"last_affected":[],"package":"oro/platform","purl":null,"source":"GHSA-jx5q-g37m-h5hj"},{"ecosystem":"Packagist","fixed":["4.2.8"],"introduced":["4.2.0"],"last_affected":[],"package":"oro/platform","purl":"pkg:composer/oro/platform","source":"GHSA-jx5q-g37m-h5hj"}],"prev":{"headline":"SQL injection vulnerability in anuko timetracker","id":"CVE-2021-43851"},"products":["platform"],"published":"2022-01-04","related":[{"cvss_score":8.6,"headline":"OroPlatform vulnerable to path traversal during temporary file manipulations","id":"CVE-2022-41951","kev_date_added":null,"published":"2023-11-27"},{"cvss_score":6.9,"headline":"XSS vulnerability in oro/platform","id":"CVE-2021-41236","kev_date_added":null,"published":"2022-01-04"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2024-50677","kev_date_added":null,"published":"2024-12-06"},{"cvss_score":5,"headline":"OroCalendarBundle has incorrect system calendar events visibility","id":"CVE-2023-32062","kev_date_added":null,"published":"2023-11-27"},{"cvss_score":4.3,"headline":"OroPlatform's pinned entity creation form shows pages of other users","id":"CVE-2023-45824","kev_date_added":null,"published":"2024-03-25"},{"cvss_score":4.3,"headline":"OroPlatform's storefront user can access history and most viewed data from matching back-office user with the same ID","id":"CVE-2023-48296","kev_date_added":null,"published":"2024-03-25"}],"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["oroinc"]},"summary":"Attackers can inject properties into JavaScript prototypes via crafted requests, potentially leading to code execution in vulnerable libraries.","url":"https://insights.sbomify.com/CVE-2021-43852/"}