CVE-2012-1209: Forkcms/forkcms Cross-Site Scripting Vulnerability
MODERATECVE-2012-1209 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 xss via highlight parameter. Remediation is available by upgrading affected packages to version 3.2.5.
CVE-2012-1209 at a Glance
How to Fix CVE-2012-1209
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.
Upgrade forkcms/forkcms to 3.2.5
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-1209, 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.5), 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
CVE-2012-1209 Affected Forkcms/forkcms Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
forkcms/forkcms
|
Packagist |
< 3.2.5
|
3.2.5
|
References
Frequently Asked Questions
What is CVE-2012-1209?
Which Forkcms/forkcms versions are affected?
What version fixes CVE-2012-1209?
Is forkcms/forkcms affected?
What CWE is associated with CVE-2012-1209?
How can I check Packagist dependencies for CVE-2012-1209?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v3fg-x8jw-m974",
"modified" : "2024-01-12T16:43:17Z",
"published" : "2022-05-14T03:51:05Z",
"aliases" : [ "CVE-2012-1209" ],
"summary" : "Fork CMS XSS via Highlight Parameter",
"details" : "Cross-site scripting (XSS) vulnerability in `backend/core/engine/base.php` in Fork CMS 3.2.4 and possibly other versions before 3.2.5 allows remote attackers to inject arbitrary web script or HTML via the highlight parameter.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "forkcms/forkcms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.2.5"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.2.4"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-1209"
}, {
"type" : "WEB",
"url" : "https://github.com/forkcms/forkcms/commit/c8ec9c58a6b3c46cdd924532c1de99bcda6072ed"
}, {
"type" : "WEB",
"url" : "https://github.com/forkcms/forkcms/commit/df75e0797a6540c4d656969a2e7df7689603b2cf"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/73393"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/forkcms/forkcms"
}, {
"type" : "WEB",
"url" : "http://www.fork-cms.com/blog/detail/fork-cms-3-2-5-released"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-12T16:43:17Z",
"nvd_published_at" : "2012-02-24T13:55:00Z"
}
}