{"id":"GHSA-2jc6-3fhj-8q84","aliases":["CVE-2022-35950"],"title":"OroCommerce Cross-site Scripting vulnerability in add note dialog of Shopping List line item","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","description":"### Impact\n\nThe JS payload added to the product name may be executed at the storefront when adding a note to the shopping list line item containing a vulnerable product.\nAn attacker should be able to edit a product in the admin area and force a user to add this product to Shopping List and click add a note for it.\n","severity":"medium","score":4.8,"published":"2023-10-10T21:10:28.000Z","modified":"2024-02-16T08:25:09.010Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"oro/commerce","sources":[{"name":"OSV · GHSA-2jc6-3fhj-8q84","url":"https://osv.dev/vulnerability/GHSA-2jc6-3fhj-8q84"}],"ranges":[{"events":[{"introduced":"4.1.0"},{"last_affected":"4.1.13"}],"type":"ECOSYSTEM"}],"versions":["4.1.0","4.1.1","4.1.1-rc","4.1.1-rc2","4.1.10","4.1.11","4.1.12","4.1.13","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6","4.1.7","4.1.8","4.1.9"],"fixed":[]},{"ecosystem":"Packagist","name":"oro/commerce","sources":[{"name":"OSV · GHSA-2jc6-3fhj-8q84","url":"https://osv.dev/vulnerability/GHSA-2jc6-3fhj-8q84"}],"ranges":[{"events":[{"introduced":"4.2.0"},{"last_affected":"4.2.10"}],"type":"ECOSYSTEM"}],"versions":["4.2.0","4.2.1","4.2.10","4.2.2","4.2.3","4.2.4","4.2.5","4.2.6","4.2.7","4.2.8","4.2.9"],"fixed":[]},{"ecosystem":"Packagist","name":"oro/commerce","sources":[{"name":"OSV · GHSA-2jc6-3fhj-8q84","url":"https://osv.dev/vulnerability/GHSA-2jc6-3fhj-8q84"}],"ranges":[{"events":[{"introduced":"5.0.0"},{"fixed":"5.0.11"}],"type":"ECOSYSTEM"}],"versions":["5.0.0","5.0.1","5.0.10","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8","5.0.9"],"fixed":["5.0.11"]},{"ecosystem":"Packagist","name":"oro/commerce","sources":[{"name":"OSV · GHSA-2jc6-3fhj-8q84","url":"https://osv.dev/vulnerability/GHSA-2jc6-3fhj-8q84"}],"ranges":[{"events":[{"introduced":"5.1.0"},{"fixed":"5.1.1"}],"type":"ECOSYSTEM"}],"versions":["5.1.0"],"fixed":["5.1.1"]}],"sourceAffected":[],"references":["https://github.com/oroinc/orocommerce/security/advisories/GHSA-2jc6-3fhj-8q84","https://nvd.nist.gov/vuln/detail/CVE-2022-35950","https://github.com/oroinc/orocommerce"],"sources":[{"name":"OSV","id":"GHSA-2jc6-3fhj-8q84","modified":"2024-02-16T08:25:09.010831Z","url":"https://osv.dev/vulnerability/GHSA-2jc6-3fhj-8q84"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T19:20:37.165Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}