GHSA-j2v2-3784-vr44: Duplicate Advisory OpenCart Server-Side Template Injection (SSTI) Vulnerability
HIGHGHSA-j2v2-3784-vr44 is a HIGH (CVSS 7.2) opencart server-side template injection (ssti) vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Duplicate Advisory libraries in the Packagist ecosystem. The issue involves opencart server-side template injection (ssti) vulnerability. Remediation is available in the latest vendor maintenance releases.
GHSA-j2v2-3784-vr44 at a Glance
Security Impact
CVSS: 7.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H).
How to Fix GHSA-j2v2-3784-vr44
To remediate this vulnerability, upgrade all affected Duplicate Advisory 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 opencart/opencart to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for opencart/opencart
How to Check if You Are Affected
To determine whether your application is affected by GHSA-j2v2-3784-vr44, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for opencart/opencart
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Duplicate Advisory, 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
GHSA-j2v2-3784-vr44 Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
opencart/opencart
|
Packagist |
≤ 4.0.2.3
|
|
References
Frequently Asked Questions
What is GHSA-j2v2-3784-vr44?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-j2v2-3784-vr44?
Is opencart/opencart affected?
What is the CVSS score of GHSA-j2v2-3784-vr44?
What CWE is associated with GHSA-j2v2-3784-vr44?
How can I check Packagist dependencies for GHSA-j2v2-3784-vr44?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j2v2-3784-vr44",
"modified" : "2025-01-23T23:32:20Z",
"published" : "2024-12-18T21:30:56Z",
"withdrawn" : "2024-12-18T22:02:19Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: openCart Server-Side Template Injection (SSTI) vulnerability",
"details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-xrh7-2gfq-4rcq. This link is maintained to preserve external references.\n\n## Original Description\nOpenCart 4.0.2.3 is vulnerable to Server-Side Template Injection (SSTI) via the Theme Editor Function.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "opencart/opencart"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "4.0.2.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-36694"
}, {
"type" : "WEB",
"url" : "https://github.com/opencart/opencart/issues/13863"
}, {
"type" : "WEB",
"url" : "https://github.com/A3h1nt/CVEs/blob/main/OpenCart/Readme.md"
}, {
"type" : "WEB",
"url" : "https://github.com/PawaritSanguanpang/CVEs/blob/main/OpenCart/CVE-2024-36694/README.md"
}, {
"type" : "WEB",
"url" : "https://github.com/opencart/opencart/releases/tag/4.0.2.3"
}, {
"type" : "WEB",
"url" : "https://medium.com/@pawarit.sanguanpang/opencart-v4-0-2-3-server-side-template-injection-0b173a3bdcf9"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-12-18T22:02:19Z",
"nvd_published_at" : "2024-12-18T20:15:22Z"
}
}