CVE-2011-0533: Archiva Cross-Site Scripting Vulnerability
MODERATECVE-2011-0533 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Archiva libraries in the Maven ecosystem. The issue involves apache continuum and archiva vulnerable to cross-site scripting. Remediation is available by upgrading affected packages to version 1.3.4, 1.3.7.
CVE-2011-0533 at a Glance
How to Fix CVE-2011-0533
To remediate this vulnerability, upgrade all affected Archiva dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.archiva</groupId>
<artifactId>archiva</artifactId>
<version>1.3.4</version>
</dependency>
<dependency>
<groupId>org.apache.continuum</groupId>
<artifactId>continuum</artifactId>
<version>1.3.7</version>
</dependency>
<dependency>
<groupId>org.apache.continuum</groupId>
<artifactId>continuum</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.archiva
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2011-0533, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.archiva
Analyze the terminal output to locate any version of Archiva in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.4), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.archiva command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
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 Archiva, 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-2011-0533 Affected Archiva Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.archiva:archiva
|
Maven |
≥ 1.0
< 1.3.4
|
1.3.4
|
|
org.apache.continuum:continuum
|
Maven |
≥ 1.1
< 1.3.7
|
1.3.7
|
|
org.apache.continuum:continuum
|
Maven |
1.4.0-beta
All 1 versions
1.4.0-beta
|
None specified
|
References
Frequently Asked Questions
What is CVE-2011-0533?
Which Archiva versions are affected?
What version fixes CVE-2011-0533?
Is archiva affected?
Is continuum affected?
What CWE is associated with CVE-2011-0533?
How can I check Maven dependencies for CVE-2011-0533?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7382-fv7p-v9v3",
"modified" : "2025-04-12T01:47:49Z",
"published" : "2022-05-14T02:56:35Z",
"aliases" : [ "CVE-2011-0533" ],
"summary" : "Apache Continuum and Archiva vulnerable to Cross-site Scripting",
"details" : "Cross-site scripting (XSS) vulnerability in Apache Continuum 1.1 through 1.2.3.1, 1.3.6, and 1.4.0 Beta; and Archiva 1.3.0 through 1.3.3 and 1.0 through 1.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted parameter, related to the autoIncludeParameters setting for the extremecomponents table.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.archiva:archiva"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0"
}, {
"fixed" : "1.3.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.continuum:continuum"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1"
}, {
"fixed" : "1.3.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.continuum:continuum"
},
"versions" : [ "1.4.0-beta" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-0533"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/65343"
}, {
"type" : "WEB",
"url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12581"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20110308092332/http://securitytracker.com/id?1025065"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20111008021907/http://securityreason.com/securityalert/8091"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200229160845/http://www.securityfocus.com/bid/46311"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20201207190531/http://www.securityfocus.com/archive/1/516342/100/0/threaded"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20201207190533/http://www.securityfocus.com/archive/1/516474/100/0/threaded"
}, {
"type" : "WEB",
"url" : "http://continuum.apache.org/security.html"
}, {
"type" : "WEB",
"url" : "http://jira.codehaus.org/browse/CONTINUUM-2604"
}, {
"type" : "WEB",
"url" : "http://mail-archives.apache.org/mod_mbox/continuum-users/201102.mbox/%3C981C0A79-5B7B-4053-84CC-3217870BE360%40apache.org%3E"
}, {
"type" : "WEB",
"url" : "http://mail-archives.apache.org/mod_mbox/continuum-users/201102.mbox/%3C981C0A79-5B7B-4053-84CC-3217870BE360@apache.org%3E"
}, {
"type" : "WEB",
"url" : "http://seclists.org/fulldisclosure/2011/Feb/236"
}, {
"type" : "WEB",
"url" : "http://svn.apache.org/viewvc?view=revision&revision=1066053"
}, {
"type" : "WEB",
"url" : "http://svn.apache.org/viewvc?view=revision&revision=1066056"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-12T01:47:49Z",
"nvd_published_at" : "2011-02-17T18:00:00Z"
}
}