GHSA-rrgw-3hg3-9x8c: Oro/platform Cross-Site Scripting Vulnerability
MODERATEGHSA-rrgw-3hg3-9x8c is a MODERATE (CVSS 6.9) cross-site scripting vulnerability (General Security Weakness) affecting Oro/platform libraries in the Packagist ecosystem. The issue involves xss vulnerability in translations. Remediation is available by upgrading affected packages to version 3.1.29, 4.1.17, 4.2.8.
GHSA-rrgw-3hg3-9x8c at a Glance
Security Impact
CVSS: 6.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N).
How to Fix GHSA-rrgw-3hg3-9x8c
To remediate this vulnerability, upgrade all affected Oro/platform dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade oro/platform to 3.1.29
Upgrade oro/platform to 4.1.17
Upgrade oro/platform to 4.2.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for oro/platform
How to Check if You Are Affected
To determine whether your application is affected by GHSA-rrgw-3hg3-9x8c, inspect your project dependencies for Oro/platform:
inspect dependencies for oro/platform
Analyze the terminal output to locate any version of Oro/platform in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.29), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Oro/platform, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-rrgw-3hg3-9x8c Affected Oro/platform Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
oro/platform
|
Packagist |
≥ 3.1.0
< 3.1.29
|
3.1.29
|
|
oro/platform
|
Packagist |
≥ 4.1.0
< 4.1.17
|
4.1.17
|
|
oro/platform
|
Packagist |
≥ 4.2.0
< 4.2.8
|
4.2.8
|
References
Frequently Asked Questions
What is GHSA-rrgw-3hg3-9x8c?
Which Oro/platform versions are affected?
What version fixes GHSA-rrgw-3hg3-9x8c?
Is oro/platform affected?
What is the CVSS score of GHSA-rrgw-3hg3-9x8c?
What CWE is associated with GHSA-rrgw-3hg3-9x8c?
How can I check Packagist dependencies for GHSA-rrgw-3hg3-9x8c?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rrgw-3hg3-9x8c",
"modified" : "2022-01-10T21:39:18Z",
"published" : "2022-01-12T21:49:49Z",
"aliases" : [ ],
"summary" : "XSS vulnerability in translations",
"details" : "### 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "oro/platform"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.29"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "oro/platform"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.1.0"
}, {
"fixed" : "4.1.17"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "oro/platform"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.0"
}, {
"fixed" : "4.2.8"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/oroinc/platform-er/security/advisories/GHSA-rrgw-3hg3-9x8c"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-01-10T21:39:18Z",
"nvd_published_at" : null
}
}