CVE-2022-30120: Concrete5/core Cross Site Scripting Vulnerability
LOWCVE-2022-30120 is a LOW (CVSS 3.1) cross site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Concrete5/core libraries in the Packagist ecosystem. The issue involves cross site scripting in concrete cms. Remediation is available by upgrading affected packages to version 9.1.0, 8.5.8.
CVE-2022-30120 at a Glance
Security Impact
CVSS: 3.1
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:R/S:U/C:N/I:L/A:N).
How to Fix CVE-2022-30120
To remediate this vulnerability, upgrade all affected Concrete5/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 concrete5/core to 9.1.0
Upgrade concrete5/core to 8.5.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for concrete5/core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-30120, inspect your project dependencies for Concrete5/core:
inspect dependencies for concrete5/core
Analyze the terminal output to locate any version of Concrete5/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.1.0), 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 Concrete5/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-2022-30120 Affected Concrete5/core Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
concrete5/core
|
Packagist |
≥ 9.0.0
< 9.1.0
|
9.1.0
|
|
concrete5/core
|
Packagist |
< 8.5.8
|
8.5.8
|
References
Frequently Asked Questions
What is CVE-2022-30120?
Which Concrete5/core versions are affected?
What version fixes CVE-2022-30120?
Is concrete5/core affected?
What is the CVSS score of CVE-2022-30120?
What CWE is associated with CVE-2022-30120?
How can I check Packagist dependencies for CVE-2022-30120?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m2ww-6wv6-vw3c",
"modified" : "2022-07-06T16:48:12Z",
"published" : "2022-06-25T00:00:54Z",
"aliases" : [ "CVE-2022-30120" ],
"summary" : "Cross site scripting in Concrete CMS",
"details" : "XSS in /dashboard/blocks/stacks/view_details/ - old browsers only. When using an older browser with built-in XSS protection disabled, insufficient sanitation where built urls are outputted can be exploited for Concrete 8.5.7 and below as well as Concrete 9.0 through 9.0.2 to allow XSS. This cannot be exploited in modern-day web browsers due to an automatic input escape mechanism. Concrete CMS Security team ranked this vulnerability 3.1with CVSS v3.1 Vector AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N. Sanitation has been added where built urls are output.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "concrete5/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0"
}, {
"fixed" : "9.1.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "concrete5/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "8.5.8"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-30120"
}, {
"type" : "WEB",
"url" : "https://hackerone.com/reports/1363598"
}, {
"type" : "WEB",
"url" : "https://documentation.concretecms.org/developers/introduction/version-history/858-release-notes"
}, {
"type" : "WEB",
"url" : "https://documentation.concretecms.org/developers/introduction/version-history/910-release-notes"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/concretecms/concretecms-core"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-29T21:18:26Z",
"nvd_published_at" : "2022-06-24T15:15:00Z"
}
}