Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Affecting oro/commerce package, versions >=4.1.0, <5.0.11>=5.1.0, <5.1.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-OROCOMMERCE-5952252
  • published10 Oct 2023
  • disclosed9 Oct 2023
  • creditUnknown

Introduced: 9 Oct 2023

CVE-2022-35950  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade oro/commerce to version 5.0.11, 5.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') when the product name is manipulated. An attacker can execute a JS payload at the storefront by adding a note to the shopping list line item containing a manipulated product. This could be used 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.

Note:

This is only exploitable if the attacker has admin privileges.

References

CVSS Scores

version 3.1