CVE-2014-2853: Mediawiki/core Cross-Site Scripting Vulnerability
MODERATECVE-2014-2853 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Mediawiki/core libraries in the Packagist ecosystem. The issue involves cross-site scripting vulnerability in includes/actions/infoaction.php. Remediation is available by upgrading affected packages to version 1.21.9, 1.22.6.
CVE-2014-2853 at a Glance
How to Fix CVE-2014-2853
To remediate this vulnerability, upgrade all affected Mediawiki/core 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 mediawiki/core to 1.21.9
Upgrade mediawiki/core to 1.22.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for mediawiki/core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2014-2853, inspect your project dependencies for Mediawiki/core:
inspect dependencies for mediawiki/core
Analyze the terminal output to locate any version of Mediawiki/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.21.9), 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 Mediawiki/core, 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-2014-2853 Affected Mediawiki/core Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mediawiki/core
|
Packagist |
< 1.21.9
|
1.21.9
|
|
mediawiki/core
|
Packagist |
≥ 1.22.0
< 1.22.6
|
1.22.6
|
References
Frequently Asked Questions
What is CVE-2014-2853?
Which Mediawiki/core versions are affected?
What version fixes CVE-2014-2853?
Is mediawiki/core affected?
What CWE is associated with CVE-2014-2853?
How can I check Packagist dependencies for CVE-2014-2853?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6h86-9r5g-f2h5",
"modified" : "2024-11-01T23:10:24Z",
"published" : "2022-05-17T04:07:54Z",
"aliases" : [ "CVE-2014-2853" ],
"summary" : "Cross-site scripting vulnerability in includes/actions/InfoAction.php",
"details" : "Cross-site scripting (XSS) vulnerability in includes/actions/InfoAction.php in MediaWiki before 1.21.9 and 1.22.x before 1.22.6 allows remote attackers to inject arbitrary web script or HTML via the sort key in an info action.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "mediawiki/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.21.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "mediawiki/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.22.0"
}, {
"fixed" : "1.22.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-2853"
}, {
"type" : "WEB",
"url" : "https://github.com/wikimedia/mediawiki-core/commit/0b695ae09aada343ab59be4a3c9963995a1143b6"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1091967"
}, {
"type" : "WEB",
"url" : "https://bugzilla.wikimedia.org/show_bug.cgi?id=63251"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/wikimedia/mediawiki"
}, {
"type" : "WEB",
"url" : "https://www.mediawiki.org/wiki/Release_notes/1.21#Changes_since_1.21.8"
}, {
"type" : "WEB",
"url" : "https://www.mediawiki.org/wiki/Release_notes/1.22#Changes_since_1.22.5"
}, {
"type" : "WEB",
"url" : "http://lists.wikimedia.org/pipermail/mediawiki-announce/2014-April/000149.html"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/58262"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/67068"
}, {
"type" : "WEB",
"url" : "http://www.securitytracker.com/id/1030161"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-11-01T23:10:24Z",
"nvd_published_at" : "2014-04-29T18:55:00Z"
}
}