CVE-2023-4145: Pimcore/customer management framework bundle Cross-Site Scripting Vulnerability
MODERATECVE-2023-4145 is a MODERATE (CVSS 6.5) cross-site scripting vulnerability (CWE-87: Improper Neutralization of Alternate XSS Syntax) affecting Pimcore/customer management framework bundle libraries in the Packagist ecosystem. The issue involves pimcore/customer-management-framework-bundle cross-site scripting vulnerability in segment name. Remediation is available by upgrading affected packages to version 3.4.2.
CVE-2023-4145 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L).
How to Fix CVE-2023-4145
To remediate this vulnerability, upgrade all affected Pimcore/customer management framework bundle 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 pimcore/customer-management-framework-bundle to 3.4.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for pimcore/customer-management-framework-bundle
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-4145, inspect your project dependencies for Pimcore/customer management framework bundle:
inspect dependencies for pimcore/customer-management-framework-bundle
Analyze the terminal output to locate any version of Pimcore/customer management framework bundle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.4.2), 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-87: Improper Neutralization of Alternate XSS Syntax, where the product does not neutralize or incorrectly neutralizes user-controlled input for alternate script syntax. In Pimcore/customer management framework bundle, 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-2023-4145 Affected Pimcore/customer management framework bundle Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pimcore/customer-management-framework-bundle
|
Packagist |
< 3.4.2
|
3.4.2
|
References
Frequently Asked Questions
What is CVE-2023-4145?
Which Pimcore/customer management framework bundle versions are affected?
What version fixes CVE-2023-4145?
Is pimcore/customer-management-framework-bundle affected?
What is the CVSS score of CVE-2023-4145?
What CWE is associated with CVE-2023-4145?
How can I check Packagist dependencies for CVE-2023-4145?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-735f-w79p-282x",
"modified" : "2023-08-03T19:40:12Z",
"published" : "2023-08-03T16:32:49Z",
"aliases" : [ "CVE-2023-4145" ],
"summary" : "pimcore/customer-management-framework-bundle Cross-site Scripting vulnerability in Segment name",
"details" : "### Impact\nAs HTML injection works in email an attacker can trick a victim to click on such hyperlinks to redirect him to any malicious site and also can host a XSS page. All this will surely cause some damage to the victim. This could lead to users being tricked into giving logins away to malicious attackers.\n\n### Patches\nUpdate to version 3.4.2 or apply this patch manually https://github.com/pimcore/customer-data-framework/commit/72f45dd537a706954e7a71c99fbe318640e846a2.patch\n\n### Workarounds\nApply https://github.com/pimcore/customer-data-framework/commit/72f45dd537a706954e7a71c99fbe318640e846a2.patch manually.\n\n### References\nhttps://huntr.dev/bounties/ce852777-2994-40b4-bb4e-c4d10023eeb0/\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "pimcore/customer-management-framework-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.4.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pimcore/customer-data-framework/security/advisories/GHSA-735f-w79p-282x"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-4145"
}, {
"type" : "WEB",
"url" : "https://github.com/pimcore/customer-data-framework/commit/72f45dd537a706954e7a71c99fbe318640e846a2"
}, {
"type" : "WEB",
"url" : "https://github.com/pimcore/customer-data-framework/commit/72f45dd537a706954e7a71c99fbe318640e846a2.patch"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pimcore/customer-data-framework"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/ce852777-2994-40b4-bb4e-c4d10023eeb0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79", "CWE-87" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-03T16:32:49Z",
"nvd_published_at" : "2023-08-03T17:15:12Z"
}
}