CVE-2012-5181: Concrete5/concrete5 Cross-Site Scripting Vulnerability
MODERATECVE-2012-5181 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Concrete5/concrete5 libraries in the Packagist ecosystem. The issue involves concrete5 vulnerable to cross-site scripting (xss). Remediation is available by upgrading affected packages to version 5.6.1.
CVE-2012-5181 at a Glance
How to Fix CVE-2012-5181
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 5.6.1
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-2012-5181, 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 5.6.1), 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/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-2012-5181 Affected Concrete5/concrete5 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
concrete5/concrete5
|
Packagist |
≥ 5.5.1
< 5.6.1
|
5.6.1
|
References
Frequently Asked Questions
What is CVE-2012-5181?
Which Concrete5/concrete5 versions are affected?
What version fixes CVE-2012-5181?
Is concrete5/concrete5 affected?
What CWE is associated with CVE-2012-5181?
How can I check Packagist dependencies for CVE-2012-5181?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x4x9-4c65-73w8",
"modified" : "2025-04-12T00:08:12Z",
"published" : "2022-05-17T00:22:27Z",
"aliases" : [ "CVE-2012-5181" ],
"summary" : "Concrete5 Vulnerable to Cross-Site Scripting (XSS)",
"details" : "Cross-site scripting (XSS) vulnerability in concrete5 Japanese 5.5.1 through 5.5.2.1 and concrete5 English 5.5.0 through 5.6.0.2 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "concrete5/concrete5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.5.1"
}, {
"fixed" : "5.6.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-5181"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/concretecms/concrete5-legacy"
}, {
"type" : "WEB",
"url" : "http://concrete5-japan.org/news/concrete5602ja-release"
}, {
"type" : "WEB",
"url" : "http://jvn.jp/en/jp/JVN65458431/index.html"
}, {
"type" : "WEB",
"url" : "http://jvndb.jvn.jp/jvndb/JVNDB-2012-000113"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-12T00:08:12Z",
"nvd_published_at" : "2012-12-21T21:55:00Z"
}
}