MediumGHSA-j226-63j7-qrqhCVE-2025-49130

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?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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
Update to the fixed version for your release line, for example:composer require barryvdh/laravel-translation-manager:^0.6.8

Details

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
barryvdh/laravel-translation-manager security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.