GHSA-pgj4-g5j4-cmfx: Withdrawn Advisory Remote Code Execution Vulnerability
HIGHGHSA-pgj4-g5j4-cmfx is a HIGH (CVSS 7.0) remote code execution vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Withdrawn Advisory libraries in the Packagist ecosystem. The issue involves cart2quote/module-quotation-encoded remote code execution via downloadcustomoptionaction. Remediation is available by upgrading affected packages to version 5.4.4, 4.4.6.
GHSA-pgj4-g5j4-cmfx at a Glance
Security Impact
CVSS: 7.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L).
How to Fix GHSA-pgj4-g5j4-cmfx
To remediate this vulnerability, upgrade all affected Withdrawn 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 cart2quote/module-quotation-encoded to Latest secure release
Upgrade cart2quote/module-quotation-encoded to 5.4.4
Upgrade cart2quote/module-quotation to 4.4.6
Upgrade cart2quote/module-quotation to 5.4.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for cart2quote/module-quotation-encoded
How to Check if You Are Affected
To determine whether your application is affected by GHSA-pgj4-g5j4-cmfx, inspect your project dependencies for Withdrawn Advisory:
inspect dependencies for cart2quote/module-quotation-encoded
Analyze the terminal output to locate any version of Withdrawn Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.4.4), 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 Withdrawn 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-pgj4-g5j4-cmfx Affected Withdrawn Advisory Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
cart2quote/module-quotation-encoded
|
Packagist |
≥ 4.1.6
≤ 4.4.5
|
|
|
cart2quote/module-quotation-encoded
|
Packagist |
≥ 5.0.0
< 5.4.4
|
5.4.4
|
|
cart2quote/module-quotation
|
Packagist |
≥ 4.1.6
< 4.4.6
|
4.4.6
|
|
cart2quote/module-quotation
|
Packagist |
≥ 5.0.0
< 5.4.4
|
5.4.4
|
References
Frequently Asked Questions
What is GHSA-pgj4-g5j4-cmfx?
Which Withdrawn Advisory versions are affected?
What version fixes GHSA-pgj4-g5j4-cmfx?
Is cart2quote/module-quotation-encoded affected?
Is cart2quote/module-quotation affected?
What is the CVSS score of GHSA-pgj4-g5j4-cmfx?
What CWE is associated with GHSA-pgj4-g5j4-cmfx?
How can I check Packagist dependencies for GHSA-pgj4-g5j4-cmfx?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pgj4-g5j4-cmfx",
"modified" : "2026-10-07T14:00:30Z",
"published" : "2024-05-15T18:06:58Z",
"withdrawn" : "2026-10-07T14:00:30Z",
"aliases" : [ ],
"summary" : "Withdrawn Advisory: cart2quote/module-quotation-encoded Remote Code Execution via downloadCustomOptionAction",
"details" : "# Withdrawn Advisory\nThis advisory has been withdrawn because it is specific to the Magento 1 implementation of cart2quote and does not apply to cart2quote/module-quotation-encoded.\n\n# Original Description\ncart2quote/module-quotation-encoded extension may expose a critical security vulnerability by utilizing the unserialize function when processing data from a GET request. This flaw, present in the app/code/community/Ophirah/Qquoteadv/controllers/DownloadController.php and app/code/community/Ophirah/Qquoteadv/Helper/Data.php files, poses a significant risk of Remote Code Execution, especially when custom file options are employed on a product. Attackers exploiting this vulnerability could execute arbitrary code remotely, leading to unauthorized access and potential compromise of sensitive data.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "cart2quote/module-quotation-encoded"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.1.6"
}, {
"last_affected" : "4.4.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "cart2quote/module-quotation-encoded"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.4.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "cart2quote/module-quotation"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.1.6"
}, {
"fixed" : "4.4.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "cart2quote/module-quotation"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.4.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/github/advisory-database/pull/8423"
}, {
"type" : "PACKAGE",
"url" : "https://bitbucket.org/cart2quote2/cart2quote2-releases"
}, {
"type" : "WEB",
"url" : "https://cart2quote.zendesk.com/hc/en-us/articles/115000616303--FIXED-Security-Vulnerability-in-downloadCustomOptionAction"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/cart2quote/module-quotation/2017-02-01.yaml"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20230131172111/https://cart2quote.zendesk.com/hc/en-us/articles/115000616303--FIXED-Security-Vulnerability-in-downloadCustomOptionAction"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-15T18:06:58Z",
"nvd_published_at" : null
}
}