Laravel Translation Manager Vulnerable to Stored Cross-site Scripting
Published 9 Jun 2025 · Updated 9 Jun 2025
Is your project on an affected barryvdh/laravel-translation-manager?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <0.6.8
- Fixed in
- 0.6.8
composer require barryvdh/laravel-translation-manager:^0.6.8Details
Impact
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.
Patches
The issue is fixed in https://github.com/barryvdh/laravel-translation-manager/pull/475 which is released in version 0.6.8
Workarounds
Only authenticated users with access to the translation manager are impacted.
References
[[PT-2025-04] laravel translation manager.pdf](https://github.com/user-attachments/files/20639250/PT-2025-04.laravel.translation.manager.pdf)
Reported by
Positive Technologies (Artem Deikov, Ilya Tsaturov, Daniil Satyaev, Roman Cheremnykh, Artem Danilov, Stanislav Gleym)
Is GHSA-j226-63j7-qrqh in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected barryvdh/laravel-translation-manager, and gives you the command that fixes it.
More advisories for barryvdh/laravel-translation-manager
- MediumGHSA-3fvf-2gp4-89wqPossibility for Denial of Service by overwriting PHP files with language exports · 18 Mar 2022
References
- Linkgithub.com/barryvdh/laravel-translation-manager/security/advisories/GHSA-j226-63j7-qrqh
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-49130
- Linkgithub.com/barryvdh/laravel-translation-manager/pull/475
- Linkgithub.com/barryvdh/laravel-translation-manager/commit/527446ed419f90f2319675fc5211cb8f851d7a1f
- Packagegithub.com/barryvdh/laravel-translation-manager
- Linkgithub.com/barryvdh/laravel-translation-manager/releases/tag/v0.6.8
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.