CVE-2012-5181: Concrete5/concrete5 Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-x4x9-4c65-73w8
CWE-79
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2012-5181
GHSA Identifier GHSA-x4x9-4c65-73w8
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Concrete5/concrete5
Package Ecosystem Packagist
Published Date
Last Updated

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.

concrete5/concrete5 fixed: 5.6.1
Upgrade concrete5/concrete5 to 5.6.1
Verify Direct and Transitive Dependencies

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

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.

CVE-2012-5181 Affected Concrete5/concrete5 Versions

1 component(s)
Fixed Versions:
5.6.1
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?
CVE-2012-5181 is a security vulnerability in Concrete5/concrete5 involving Concrete5 Vulnerable to Cross-Site Scripting (XSS) under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Concrete5/concrete5 versions are affected?
Affected versions include releases prior to 5.6.1 across affected packages: concrete5/concrete5.
What version fixes CVE-2012-5181?
Upgrading to 5.6.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is concrete5/concrete5 affected?
Yes, concrete5/concrete5 is affected in releases prior to 5.6.1. Upgrade your dependency to 5.6.1 or later.
What CWE is associated with CVE-2012-5181?
CVE-2012-5181 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check Packagist dependencies for CVE-2012-5181?
Run the dependency tree command: 'inspect dependencies for concrete5/concrete5'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}