CVE-2025-49130 Laravel Translation Manager Vulnerable to Stored Cross-site Scripting
Authenticated users can inject malicious scripts into translation files, enabling session hijacking or data theft in Laravel applications.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-49130?
CVE-2025-49130 is a medium-severity cross-site scripting vulnerability in barryvdh laravel-translation-manager, published on 9 Jun 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Laravel Translation Manager is a package to manage Laravel translation files. Prior to version 0.6.8, the application is vulnerable to Cross-Site Scripting (XSS) attacks due to incorrect input validation and sanitization of user-input data. An attacker can inject arbitrary HTML code, including JavaScript scripts, into the page processed by the user's browser, allowing them to steal sensitive data, hijack user sessions, or conduct other malicious activities. Only authenticated users with access to the translation manager are impacted. The issue is fixed in version 0.6.8.
Weakness: CWE-79
Which versions are affected by CVE-2025-49130?
2 open source packages ship an affected version, including barryvdh/laravel-translation-manager.
| Package | Affected | Fixed in |
|---|---|---|
barryvdh/laravel-translation-manager Packagist | All versions | 0.6.8 |
barryvdh/laravel-translation-manager Packagist | All versions | 0.6.8 |
How do I fix CVE-2025-49130?
Upgrade barryvdh/laravel-translation-manager to 0.6.8 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-49130 being exploited?
There is no known exploitation of CVE-2025-49130 in the wild and no public exploit code.
Sources
Also known as GHSA-j226-63j7-qrqh.