# GHSA-3fvf-2gp4-89wq: Possibility for Denial of Service by overwriting PHP files with language exports

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-03-18T23:17:15.000Z
- Modified: 2024-12-05T05:24:22.227Z

## Description

### Impact
Laravel Translation Manager didn't check the locale name, which allowed directory traversal when exporting files. The content would be a PHP file returning an array of translations, but this could lead to unexpected results, like denial of service. Access to the Laravel Translation Manager is required, because a new locale would have to be added and published.

### Patches
Version 0.6.2 fixes this issue.

### Workarounds
Only allow trusted admins to publish/edit translations.

### References
https://github.com/barryvdh/laravel-translation-manager/pull/417

### For more information
If you have any questions or comments about this advisory:
* Open an issue in https://github.com/barryvdh/laravel-translation-manager
* Email me (see Github profile)

### Credits
Found and reported by [Natalia Trojanowska](https://www.linkedin.com/in/trojanowskanatalia/)

(As written by GitHub Advisory Database.)

## Affected

- barryvdh/laravel-translation-manager (Packagist): before 0.6.2

## References

- <https://github.com/barryvdh/laravel-translation-manager/security/advisories/GHSA-3fvf-2gp4-89wq> (web)
- <https://github.com/barryvdh/laravel-translation-manager> (package)

## Sources

- GitHub Advisory Database: [GHSA-3fvf-2gp4-89wq](https://github.com/advisories/GHSA-3fvf-2gp4-89wq), CC-BY-4.0, modified 2024-12-05

---

Page: https://cve.day/GHSA-3fvf-2gp4-89wq · Whole record: https://cve.day/GHSA-3fvf-2gp4-89wq.json · Rebuilt by cve.day 2026-11-25T22:56:30.895Z
