CVE-2025-49130: Barryvdh/laravel translation manager Cross-Site Scripting Vulnerability
MODERATECVE-2025-49130 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Barryvdh/laravel translation manager libraries in the Packagist ecosystem. The issue involves laravel translation manager vulnerable to stored cross-site scripting. Remediation is available by upgrading affected packages to version 0.6.8.
CVE-2025-49130 at a Glance
How to Fix CVE-2025-49130
To remediate this vulnerability, upgrade all affected Barryvdh/laravel translation manager dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade barryvdh/laravel-translation-manager to 0.6.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for barryvdh/laravel-translation-manager
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-49130, inspect your project dependencies for Barryvdh/laravel translation manager:
inspect dependencies for barryvdh/laravel-translation-manager
Analyze the terminal output to locate any version of Barryvdh/laravel translation manager in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.8), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Barryvdh/laravel translation manager, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-49130 Affected Barryvdh/laravel translation manager Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
barryvdh/laravel-translation-manager
|
Packagist |
< 0.6.8
|
0.6.8
|
References
Frequently Asked Questions
What is CVE-2025-49130?
Which Barryvdh/laravel translation manager versions are affected?
What version fixes CVE-2025-49130?
Is barryvdh/laravel-translation-manager affected?
What CWE is associated with CVE-2025-49130?
How can I check Packagist dependencies for CVE-2025-49130?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j226-63j7-qrqh",
"modified" : "2025-06-09T15:55:56Z",
"published" : "2025-06-09T13:15:19Z",
"aliases" : [ "CVE-2025-49130" ],
"summary" : "Laravel Translation Manager Vulnerable to Stored Cross-site Scripting",
"details" : "### Impact\nThe 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.\n\n### Patches\nThe issue is fixed in https://github.com/barryvdh/laravel-translation-manager/pull/475 which is released in version 0.6.8\n\n### Workarounds\nOnly authenticated users with access to the translation manager are impacted.\n\n### References\n[[PT-2025-04] laravel translation manager.pdf](https://github.com/user-attachments/files/20639250/PT-2025-04.laravel.translation.manager.pdf)\n\n### Reported by\nPositive Technologies (Artem Deikov, Ilya Tsaturov, Daniil Satyaev, Roman Cheremnykh, Artem Danilov, Stanislav Gleym)",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "barryvdh/laravel-translation-manager"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.6.8"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/barryvdh/laravel-translation-manager/security/advisories/GHSA-j226-63j7-qrqh"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-49130"
}, {
"type" : "WEB",
"url" : "https://github.com/barryvdh/laravel-translation-manager/pull/475"
}, {
"type" : "WEB",
"url" : "https://github.com/barryvdh/laravel-translation-manager/commit/527446ed419f90f2319675fc5211cb8f851d7a1f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/barryvdh/laravel-translation-manager"
}, {
"type" : "WEB",
"url" : "https://github.com/barryvdh/laravel-translation-manager/releases/tag/v0.6.8"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-09T13:15:19Z",
"nvd_published_at" : "2025-06-09T13:15:23Z"
}
}