CVE-2012-3530: Typo3/cms Cross-Site Scripting Vulnerability
MODERATECVE-2012-3530 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Typo3/cms libraries in the Packagist ecosystem. The issue involves typo3 api xss vulnerability. Remediation is available by upgrading affected packages to version 4.5.19, 4.6.12, 4.7.4.
CVE-2012-3530 at a Glance
How to Fix CVE-2012-3530
To remediate this vulnerability, upgrade all affected Typo3/cms 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 typo3/cms to 4.5.19
Upgrade typo3/cms to 4.6.12
Upgrade typo3/cms to 4.7.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for typo3/cms
How to Check if You Are Affected
To determine whether your application is affected by CVE-2012-3530, inspect your project dependencies for Typo3/cms:
inspect dependencies for typo3/cms
Analyze the terminal output to locate any version of Typo3/cms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.5.19), 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 Typo3/cms, 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-3530 Affected Typo3/cms Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
typo3/cms
|
Packagist |
≥ 4.5
< 4.5.19
|
4.5.19
|
|
typo3/cms
|
Packagist |
≥ 4.6
< 4.6.12
|
4.6.12
|
|
typo3/cms
|
Packagist |
≥ 4.7
< 4.7.4
|
4.7.4
|
References
Frequently Asked Questions
What is CVE-2012-3530?
Which Typo3/cms versions are affected?
What version fixes CVE-2012-3530?
Is typo3/cms affected?
What CWE is associated with CVE-2012-3530?
How can I check Packagist dependencies for CVE-2012-3530?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-94c2-g68f-9r98",
"modified" : "2024-01-12T18:12:57Z",
"published" : "2022-05-17T01:43:49Z",
"aliases" : [ "CVE-2012-3530" ],
"summary" : "Typo3 API XSS Vulnerability",
"details" : "Incomplete blacklist vulnerability in the `t3lib_div::quoteJSvalue` API function in TYPO3 4.5.x before 4.5.19, 4.6.x before 4.6.12 and 4.7.x before 4.7.4 allows remote attackers to conduct cross-site scripting (XSS) attacks via certain HTML5 JavaScript events.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.5"
}, {
"fixed" : "4.5.19"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.6"
}, {
"fixed" : "4.6.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.7"
}, {
"fixed" : "4.7.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-3530"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/77794"
}, {
"type" : "WEB",
"url" : "http://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2012-004"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2012/dsa-2537"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2012/08/22/8"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-12T18:12:57Z",
"nvd_published_at" : "2012-09-05T23:55:00Z"
}
}