GHSA-rrgw-3hg3-9x8c: Oro/platform Cross-Site Scripting Vulnerability

MODERATE
CVSS 6.9
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-rrgw-3hg3-9x8c
Severity MODERATE
CVSS v3.1 Base Score 6.9
CWE Classification General Security Weakness
Affected Product Oro/platform
Package Ecosystem Packagist
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity Low (I:L)
Availability None (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.

oro/platform fixed: 3.1.29
Upgrade oro/platform to 3.1.29
oro/platform fixed: 4.1.17
Upgrade oro/platform to 4.1.17
oro/platform fixed: 4.2.8
Upgrade oro/platform to 4.2.8
Verify Direct and Transitive Dependencies

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

### Summary An attacker with admin privileges and access to Translations management functionality may add JS payload to translation values via: - Translation management UI. - 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. - Translations uploaded via Upload translation file on the All Languages grid ### Workarounds There are no workarounds that address this vulnerability.

GHSA-rrgw-3hg3-9x8c Affected Oro/platform Versions

3 component(s)
Fixed Versions:
3.1.294.1.174.2.8
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?
GHSA-rrgw-3hg3-9x8c is a security vulnerability in Oro/platform involving XSS vulnerability in translations under General Security Weakness.
Which Oro/platform versions are affected?
Affected versions include releases prior to 3.1.29, 4.1.17, 4.2.8 across affected packages: oro/platform.
What version fixes GHSA-rrgw-3hg3-9x8c?
Upgrading to 3.1.29, 4.1.17, 4.2.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is oro/platform affected?
Yes, oro/platform is affected in releases prior to 3.1.29, 4.1.17, 4.2.8. Upgrade your dependency to 3.1.29, 4.1.17, 4.2.8 or later.
What is the CVSS score of GHSA-rrgw-3hg3-9x8c?
GHSA-rrgw-3hg3-9x8c has a CVSS v3.1 base score of 6.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N.
What CWE is associated with GHSA-rrgw-3hg3-9x8c?
GHSA-rrgw-3hg3-9x8c is classified under General Security Weakness.
How can I check Packagist dependencies for GHSA-rrgw-3hg3-9x8c?
Run the dependency tree command: 'inspect dependencies for oro/platform'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}