XSS Vulnerability in Translations - oro/platform

oro/platform Updated 02 Oct 2025

Summary

12/01/2022
MODERATE
Yes i
Moderate
6.9

GHSA-rrgw-3hg3-9x8c: XSS vulnerability in translations. Affects oro/platform across 3 version ranges.

>= 3.1.0, < 3.1.29 >= 4.1.0, < 4.1.17 >= 4.2.0, < 4.2.8

Fixed in 3.1.29, 4.1.17 or 4.2.8, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

oro/platform is an open-source package available on Packagist. It provides a platform for building and managing web applications. The package includes functionality for managing translations, allowing administrators to add, update, and download translation files. However, a vulnerability has been discovered in the translations management functionality, which could allow an attacker with admin privileges to inject malicious JavaScript code into translation values.

Vulnerability Detail

The XSS vulnerability in translations allows an attacker with admin privileges to add JS payload to translation values through various means. This includes using the Translation management UI, downloading translations via the Crowdin service, or uploading translations via the All Languages grid. To successfully exploit this vulnerability, the attacker would need to enable a poisoned translation, download it, and install it. The injected JavaScript code can then be executed in the context of the affected application, potentially leading to unauthorized access, data theft, or other malicious activities.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 3.1.0, < 3.1.29 3.1.29
    composer require oro/platform:3.1.29
  • >= 4.1.0, < 4.1.17 4.1.17
    composer require oro/platform:4.1.17
  • >= 4.2.0, < 4.2.8 4.2.8
    composer require oro/platform:4.2.8

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There are no known workarounds that address this vulnerability. It is recommended to apply the fix by updating the oro/platform package to the fixed versions.

Conclusion

The XSS vulnerability in translations of the oro/platform package can allow an attacker with admin privileges to inject malicious JavaScript code. To mitigate this risk, it is recommended to update the package to the fixed versions. Regularly updating the package and staying informed about security vulnerabilities is crucial for maintaining the security of your application. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for oro/platform →

Share this vulnerability

FAQ

This vulnerability allows an attacker with admin privileges to inject malicious JavaScript code into translation values. This can lead to various security risks, including unauthorized access, data theft, and other malicious activities.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your composer.lock file to the playground, and it will analyze the dependencies and alert you if any vulnerabilities are found.

There are currently no known public exploits for this vulnerability. However, it is important to apply the fix as soon as possible to mitigate the risk.

No, this vulnerability requires an attacker to have admin privileges and access to the Translations management functionality. It cannot be exploited remotely without proper authentication and access.

Yes, the CVSS score for this vulnerability is 6.9, indicating a moderate severity level.

References

Related vulnerabilities

Recent vulnerabilities recorded for oro/platform.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 3.1.0, < 3.1.29 3.1.29
    composer require oro/platform:3.1.29
  • >= 4.1.0, < 4.1.17 4.1.17
    composer require oro/platform:4.1.17
  • >= 4.2.0, < 4.2.8 4.2.8
    composer require oro/platform:4.2.8

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback