CVE-2012-1188: Forkcms/forkcms Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-j5fj-m342-mgcm
CWE-79
Published
Advisory Summary

CVE-2012-1188 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Forkcms/forkcms libraries in the Packagist ecosystem. The issue involves fork cms multiple xss vulnerabilities. Remediation is available by upgrading affected packages to version 3.2.7.

CVE-2012-1188 at a Glance

CVE Identifier CVE-2012-1188
GHSA Identifier GHSA-j5fj-m342-mgcm
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 Forkcms/forkcms
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2012-1188

To remediate this vulnerability, upgrade all affected Forkcms/forkcms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

forkcms/forkcms fixed: 3.2.7
Upgrade forkcms/forkcms to 3.2.7
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 forkcms/forkcms

How to Check if You Are Affected

To determine whether your application is affected by CVE-2012-1188, inspect your project dependencies for Forkcms/forkcms:

inspect dependencies for forkcms/forkcms

Analyze the terminal output to locate any version of Forkcms/forkcms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.2.7), 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 Forkcms/forkcms, 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

Multiple cross-site scripting (XSS) vulnerabilities in Fork CMS before 3.2.7 allow remote attackers to inject arbitrary web script or HTML via the (1) type or (2) querystring parameters to `private/en/error` or (3) name parameter to `private/en/locale/index`.

CVE-2012-1188 Affected Forkcms/forkcms Versions

1 component(s)
Fixed Versions:
3.2.7
Product / Package Ecosystem Affected Versions Fixed Version
forkcms/forkcms
Packagist
< 3.2.7
3.2.7

References

Frequently Asked Questions

What is CVE-2012-1188?
CVE-2012-1188 is a security vulnerability in Forkcms/forkcms involving Fork CMS Multiple XSS Vulnerabilities under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Forkcms/forkcms versions are affected?
Affected versions include releases prior to 3.2.7 across affected packages: forkcms/forkcms.
What version fixes CVE-2012-1188?
Upgrading to 3.2.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is forkcms/forkcms affected?
Yes, forkcms/forkcms is affected in releases prior to 3.2.7. Upgrade your dependency to 3.2.7 or later.
What CWE is associated with CVE-2012-1188?
CVE-2012-1188 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-1188?
Run the dependency tree command: 'inspect dependencies for forkcms/forkcms'. 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-j5fj-m342-mgcm",
  "modified" : "2024-01-12T17:57:30Z",
  "published" : "2022-05-17T01:48:25Z",
  "aliases" : [ "CVE-2012-1188" ],
  "summary" : "Fork CMS Multiple XSS Vulnerabilities",
  "details" : "Multiple cross-site scripting (XSS) vulnerabilities in Fork CMS before 3.2.7 allow remote attackers to inject arbitrary web script or HTML via the (1) type or (2) querystring parameters to `private/en/error` or (3) name parameter to `private/en/locale/index`.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "forkcms/forkcms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.2.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-1188"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/forkcms/forkcms/commit/1269fe8b3813c7b7d5552a2b88bc2e7bd4d0c1f9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/forkcms/forkcms/commit/995220182068518e89019a265d113518f6566407"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/73605"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/forkcms/forkcms"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20120401204345/http://www.securityfocus.com/bid/52236"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200229131647/https://www.immuniweb.com/advisory/HTB23075"
  }, {
    "type" : "WEB",
    "url" : "http://www.fork-cms.com/blog/detail/fork-cms-3-2-7-released"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-12T17:57:30Z",
    "nvd_published_at" : "2012-09-26T00:55:00Z"
  }
}