CVE-2022-50807: Concrete5/concrete5 Concrete5 CMS Contains An XPath Vulnerability
MODERATECVE-2022-50807 is a MODERATE (CVSS 9.8) concrete5 cms contains an xpath vulnerability (CWE-643: Improper Neutralization of Data within XPath Expressions ('XPath Injection')) affecting Concrete5/concrete5 libraries in the Packagist ecosystem. The issue involves concrete5 cms contains an xpath injection vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2022-50807 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2022-50807
To remediate this vulnerability, upgrade all affected Concrete5/concrete5 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 concrete5/concrete5 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 concrete5/concrete5
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-50807, inspect your project dependencies for Concrete5/concrete5:
inspect dependencies for concrete5/concrete5
Analyze the terminal output to locate any version of Concrete5/concrete5 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-643: Improper Neutralization of Data within XPath Expressions ('XPath Injection'), where the product uses external input to dynamically construct an xpath expression used to retrieve data from an xml database, but it does not neutralize or incorrectly neutralizes that input. this allows an attacker to control the structure of the query. In Concrete5/concrete5, 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-2022-50807 Affected Concrete5/concrete5 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
concrete5/concrete5
|
Packagist |
9.1.3
All 1 versions
9.1.3
|
None specified
|
References
Frequently Asked Questions
What is CVE-2022-50807?
Which Concrete5/concrete5 versions are affected?
What version fixes CVE-2022-50807?
Is concrete5/concrete5 affected?
What is the CVSS score of CVE-2022-50807?
What CWE is associated with CVE-2022-50807?
How can I check Packagist dependencies for CVE-2022-50807?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r7vr-wg3f-8hr9",
"modified" : "2026-01-14T16:53:51Z",
"published" : "2026-01-14T00:31:27Z",
"aliases" : [ "CVE-2022-50807" ],
"summary" : "Concrete5 CMS contains an XPath injection vulnerability",
"details" : "Concrete5 CMS version 9.1.3 contains an XPath injection vulnerability that allows attackers to manipulate URL path parameters with malicious payloads. Attackers can flood the system with crafted requests to potentially extract internal content paths and system information.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "concrete5/concrete5"
},
"versions" : [ "9.1.3" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-50807"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/concretecms/concretecms"
}, {
"type" : "WEB",
"url" : "https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/concretecms.org/2022/concretecms-9.1.3"
}, {
"type" : "WEB",
"url" : "https://www.concretecms.org"
}, {
"type" : "WEB",
"url" : "https://www.concretecms.org/download"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/51144"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/concrete-cme-xpath-injection"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-643" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-14T16:53:51Z",
"nvd_published_at" : "2026-01-13T23:15:50Z"
}
}