{"answers":{"affected":"6 open source packages ship an affected version, including oro/platform.","exploited":"There is no known exploitation of GHSA-rrgw-3hg3-9x8c in the wild and no public exploit code.","fix":"Upgrade oro/platform to a fixed version for your release line: 3.1.29, 4.1.17 or 4.2.8.","what":"GHSA-rrgw-3hg3-9x8c is a cross-site scripting vulnerability in oro/platform, published on 12 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 GHSA-rrgw-3hg3-9x8c and fix it if it is affected.\n\nWhat it is: GHSA-rrgw-3hg3-9x8c is a cross-site scripting vulnerability in oro/platform, published on 12 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 GHSA-rrgw-3hg3-9x8c 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.29\n- oro/platform (Packagist): affected from 3.1.0; fixed in 3.1.29\n- oro/platform (Packagist): affected from 4.1.0; fixed in 4.1.17\n- oro/platform (Packagist): affected from 4.1.0; fixed in 4.1.17\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/GHSA-rrgw-3hg3-9x8c/ (Markdown: https://insights.sbomify.com/GHSA-rrgw-3hg3-9x8c/index.md)","id":"GHSA-rrgw-3hg3-9x8c","markdown":"https://insights.sbomify.com/GHSA-rrgw-3hg3-9x8c/index.md","name":"GHSA-rrgw-3hg3-9x8c","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Translation management system","requires_auth":"high_privilege","summary":"An admin can inject JavaScript into translation values, leading to XSS attacks when translations are enabled or installed.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Summary\n\nAn attacker with admin privileges and access to Translations management functionality may add JS payload to translation values via: \n - Translation management UI.\n - Translations downloaded via the Crowdin service may also contain JS strings used for XSS attacks, for a successful attack poisoned translation should be enabled, downloaded, and installed.\n - Translations uploaded via Upload translation file on the All Languages grid\n\n### Workarounds\n\nThere are no workarounds that address this vulnerability.","ecosystems":["Packagist"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"XSS vulnerability in translations","id":"GHSA-rrgw-3hg3-9x8c","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2022"},"n_packages":6,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["3.1.29"],"introduced":["3.1.0"],"last_affected":[],"package":"oro/platform","purl":null,"source":"GHSA-rrgw-3hg3-9x8c"},{"ecosystem":"Packagist","fixed":["3.1.29"],"introduced":["3.1.0"],"last_affected":[],"package":"oro/platform","purl":"pkg:composer/oro/platform","source":"GHSA-rrgw-3hg3-9x8c"},{"ecosystem":"Packagist","fixed":["4.1.17"],"introduced":["4.1.0"],"last_affected":[],"package":"oro/platform","purl":null,"source":"GHSA-rrgw-3hg3-9x8c"},{"ecosystem":"Packagist","fixed":["4.1.17"],"introduced":["4.1.0"],"last_affected":[],"package":"oro/platform","purl":"pkg:composer/oro/platform","source":"GHSA-rrgw-3hg3-9x8c"},{"ecosystem":"Packagist","fixed":["4.2.8"],"introduced":["4.2.0"],"last_affected":[],"package":"oro/platform","purl":null,"source":"GHSA-rrgw-3hg3-9x8c"},{"ecosystem":"Packagist","fixed":["4.2.8"],"introduced":["4.2.0"],"last_affected":[],"package":"oro/platform","purl":"pkg:composer/oro/platform","source":"GHSA-rrgw-3hg3-9x8c"}],"products":null,"published":"2022-01-12","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"An admin can inject JavaScript into translation values, leading to XSS attacks when translations are enabled or installed.","url":"https://insights.sbomify.com/GHSA-rrgw-3hg3-9x8c/"}