{"id":"GHSA-3fvf-2gp4-89wq","aliases":["GHSA-3fvf-2gp4-89wq"],"related":[],"kind":"vulnerability","state":"published","title":"Possibility for Denial of Service by overwriting PHP files with language exports","summary":"### Impact\nLaravel 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.\n\n### Patches\nVersion 0.6.2 fixes this issue.\n\n### Workarounds\nOnly allow trusted admins to publish/edit translations.\n\n### References\nhttps://github.com/barryvdh/laravel-translation-manager/pull/417\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in https://github.com/barryvdh/laravel-translation-manager\n* Email me (see Github profile)\n\n### Credits\nFound and reported by [Natalia Trojanowska](https://www.linkedin.com/in/trojanowskanatalia/)","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Impact\nLaravel 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.\n\n### Patches\nVersion 0.6.2 fixes this issue.\n\n### Workarounds\nOnly allow trusted admins to publish/edit translations.\n\n### References\nhttps://github.com/barryvdh/laravel-translation-manager/pull/417\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in https://github.com/barryvdh/laravel-translation-manager\n* Email me (see Github profile)\n\n### Credits\nFound and reported by [Natalia Trojanowska](https://www.linkedin.com/in/trojanowskanatalia/)","format":"markdown","source":"ghsa"}],"published":"2022-03-18T23:17:15.000Z","modified":"2024-12-05T05:24:22.227Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.6.2"}],"ecosystem":"Packagist","package":"barryvdh/laravel-translation-manager","purl":"pkg:composer/barryvdh/laravel-translation-manager","source":"ghsa"}],"references":[{"url":"https://github.com/barryvdh/laravel-translation-manager/security/advisories/GHSA-3fvf-2gp4-89wq","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/barryvdh/laravel-translation-manager","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3fvf-2gp4-89wq","url":"https://github.com/advisories/GHSA-3fvf-2gp4-89wq","licence":"CC-BY-4.0","modified":"2024-12-05T05:24:22.227Z"}],"updatedAt":"2026-11-25T22:56:30.895Z"}