VYPR
Moderate severityNVD Advisory· Published Oct 18, 2022· Updated Apr 23, 2025

OroCommerce vulnerable to Cross-site Scripting via Shipping rule editing page

CVE-2022-31037

Description

OroCommerce shipping rule editor is vulnerable to stored cross-site scripting via the UPS Surcharge field, allowing authenticated attackers to execute arbitrary scripts.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

OroCommerce shipping rule editor is vulnerable to stored cross-site scripting via the UPS Surcharge field, allowing authenticated attackers to execute arbitrary scripts.

Vulnerability

Details OroCommerce, an open-source B2B commerce platform, is vulnerable to cross-site scripting (XSS) in the UPS Surcharge field of the Shipping rule edit page [1]. This stored XSS vulnerability affects versions 4.1.0 through 4.1.17, 4.2.0 through 4.2.11, and 5.0.0 through 5.0.3 [1]. The root cause is insufficient sanitization of user-supplied input in the UPS surcharge field [2].

Exploitation

An attacker must have permission to create or edit shipping rules, meaning they need to be an authenticated user with appropriate administrative privileges [1][2]. The attack vector is network-based and requires low complexity; no user interaction is required beyond the attacker performing the malicious input [2].

Impact

Successful exploitation allows the attacker to inject arbitrary JavaScript or HTML into the shipping rule page, which is then executed in the context of other users' browsers when they view or edit the rule. This can lead to data theft, session hijacking, or further administrative actions [2].

Mitigation

The issue has been patched in OroCommerce version 5.0.6 [1]. Users are strongly advised to upgrade. There are no known workarounds [1][2].

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
oro/commercePackagist
>= 4.1.0, < 5.0.65.0.6

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.