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.
Version 0.6.2 fixes this issue.
Only allow trusted admins to publish/edit translations.
https://github.com/barryvdh/laravel-translation-manager/pull/417
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)
Found and reported by Natalia Trojanowska
{ "nvd_published_at": null, "github_reviewed_at": "2022-03-18T23:17:15Z", "severity": "MODERATE", "github_reviewed": true, "cwe_ids": [] }