{"answers":{"affected":"6 open source packages ship an affected version, including oro/platform. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-41236 in the wild and no public exploit code.","fix":"Upgrade oro/platform to a fixed version for your release line: 3.1.21, 4.1.14 or 4.2.8.","what":"CVE-2021-41236 is a medium-severity cross-site scripting vulnerability in oroinc platform, published on 4 Jan 2022. 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-2021-41236 and fix it if it is affected.\n\nWhat it is: CVE-2021-41236 is a medium-severity cross-site scripting vulnerability in oroinc platform, published on 4 Jan 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-41236 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- oro/platform (Packagist): affected from 3.1.0; fixed in 3.1.21\n- oro/platform (Packagist): affected from 3.1.0; fixed in 3.1.21\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-41236/ (Markdown: https://insights.sbomify.com/CVE-2021-41236/index.md)","id":"CVE-2021-41236","markdown":"https://insights.sbomify.com/CVE-2021-41236/index.md","name":"CVE-2021-41236","record":{"aliases":["GHSA-qv7g-j98v-8pp7"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"OroPlatform","requires_auth":"high_privilege","summary":"An attacker with template editing permissions can inject XSS payloads into email templates, which execute when other users preview them.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"oroplatform","vendor":"oroinc"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"OroPlatform is a PHP Business Application Platform. In affected versions the email template preview is vulnerable to XSS payload added to email template content. An attacker must have permission to create or edit an email template. For successful payload, execution the attacked user must preview a vulnerable email template. There are no workarounds that address this vulnerability. Users are advised to upgrade as soon as is possible.","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":"XSS vulnerability in oro/platform","id":"CVE-2021-41236","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2021"},"n_packages":6,"n_references":2,"next":{"headline":"Missing Authorization with Default Settings in Dashboard UI","id":"CVE-2021-41238"},"packages":[{"ecosystem":"Packagist","fixed":["3.1.21"],"introduced":["3.1.0"],"last_affected":[],"package":"oro/platform","purl":null,"source":"GHSA-qv7g-j98v-8pp7"},{"ecosystem":"Packagist","fixed":["3.1.21"],"introduced":["3.1.0"],"last_affected":[],"package":"oro/platform","purl":"pkg:composer/oro/platform","source":"GHSA-qv7g-j98v-8pp7"},{"ecosystem":"Packagist","fixed":["4.1.14"],"introduced":["4.1.0"],"last_affected":[],"package":"oro/platform","purl":null,"source":"GHSA-qv7g-j98v-8pp7"},{"ecosystem":"Packagist","fixed":["4.1.14"],"introduced":["4.1.0"],"last_affected":[],"package":"oro/platform","purl":"pkg:composer/oro/platform","source":"GHSA-qv7g-j98v-8pp7"},{"ecosystem":"Packagist","fixed":["4.2.8"],"introduced":["4.2.0"],"last_affected":[],"package":"oro/platform","purl":null,"source":"GHSA-qv7g-j98v-8pp7"},{"ecosystem":"Packagist","fixed":["4.2.8"],"introduced":["4.2.0"],"last_affected":[],"package":"oro/platform","purl":"pkg:composer/oro/platform","source":"GHSA-qv7g-j98v-8pp7"}],"prev":{"headline":"Missing authorization in Nextcloud text","id":"CVE-2021-41233"},"products":["platform"],"published":"2022-01-04","related":[{"cvss_score":8.8,"headline":"JavaScript Prototype Pollution in oro/platform","id":"CVE-2021-43852","kev_date_added":null,"published":"2022-01-04"},{"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.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":"An attacker with template editing permissions can inject XSS payloads into email templates, which execute when other users preview them.","url":"https://insights.sbomify.com/CVE-2021-41236/"}