CVE-2025-57407: S cart/core Cross-Site Scripting Vulnerability
LOWCVE-2025-57407 is a LOW cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting S cart/core libraries in the Packagist ecosystem. The issue involves gp247 and s-cart have a stored cross-site scripting (xss) vulnerability. Remediation is available by upgrading affected packages to version 1.1.24.
CVE-2025-57407 at a Glance
How to Fix CVE-2025-57407
To remediate this vulnerability, upgrade all affected S cart/core 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 s-cart/core to Latest secure release
Upgrade gp247/core to 1.1.24
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for s-cart/core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-57407, inspect your project dependencies for S cart/core:
inspect dependencies for s-cart/core
Analyze the terminal output to locate any version of S cart/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.24), 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 S cart/core, 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-57407 Affected S cart/core Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
s-cart/core
|
Packagist |
≤ 9.0.5
|
|
|
gp247/core
|
Packagist |
< 1.1.24
|
1.1.24
|
References
Frequently Asked Questions
What is CVE-2025-57407?
Which S cart/core versions are affected?
What version fixes CVE-2025-57407?
Is s-cart/core affected?
Is gp247/core affected?
What CWE is associated with CVE-2025-57407?
How can I check Packagist dependencies for CVE-2025-57407?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-46v4-5mc8-q2cf",
"modified" : "2025-09-23T19:02:43Z",
"published" : "2025-09-23T18:30:22Z",
"aliases" : [ "CVE-2025-57407" ],
"summary" : "GP247 and S-Cart have a stored cross-site scripting (XSS) vulnerability",
"details" : "A stored cross-site scripting (XSS) vulnerability in the Admin Log Viewer of S-Cart <=10.0.3 allows a remote authenticated attacker to inject arbitrary web script or HTML via a crafted User-Agent header. The script is executed in an administrator's browser when they view the security log page, which could lead to session hijacking or other malicious actions.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "s-cart/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "9.0.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "gp247/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.24"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-57407"
}, {
"type" : "WEB",
"url" : "https://github.com/gp247net/core/commit/e9848706b41d835ca3d668cb1554650403e86da1"
}, {
"type" : "WEB",
"url" : "https://github.com/gp247net/core/releases/tag/1.1.24"
}, {
"type" : "WEB",
"url" : "https://github.com/s-cart/core/blob/7c9aa42761be5fd0131c61dbe2b5323beb96d5dd/src/Admin/Controllers/AdminLogController.php"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-09-23T19:02:43Z",
"nvd_published_at" : "2025-09-23T16:15:32Z"
}
}