GHSA-5PGJ-R7C6-7C7W
Vulnerability from github – Published: 2022-05-17 05:41 – Updated: 2024-01-19 18:23Multiple cross-site scripting (XSS) vulnerabilities in component handlers in the javatemplates (aka Java Templates) plugin in Apache Struts 2.x before 2.2.3 allow remote attackers to inject arbitrary web script or HTML via an arbitrary parameter value to a .action URI, related to improper handling of value attributes in
1. FileHandler.java
1. HiddenHandler.java
1. PasswordHandler.java
1. RadioHandler.java
1. ResetHandler.java
1. SelectHandler.java
1. SubmitHandler.java
1. TextFieldHandler.java
{
"affected": [
{
"package": {
"ecosystem": "Maven",
"name": "org.apache.struts:struts2-parent"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2011-2087"
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2024-01-19T18:23:12Z",
"nvd_published_at": "2011-05-13T17:05:00Z",
"severity": "MODERATE"
},
"details": "Multiple cross-site scripting (XSS) vulnerabilities in component handlers in the javatemplates (aka Java Templates) plugin in Apache Struts 2.x before 2.2.3 allow remote attackers to inject arbitrary web script or HTML via an arbitrary parameter value to a `.action` URI, related to improper handling of value attributes in \n1. `FileHandler.java`\n1. `HiddenHandler.java`\n1. `PasswordHandler.java`\n1. `RadioHandler.java`\n1. `ResetHandler.java`\n1. `SelectHandler.java`\n1. `SubmitHandler.java`\n1. `TextFieldHandler.java`",
"id": "GHSA-5pgj-r7c6-7c7w",
"modified": "2024-01-19T18:23:12Z",
"published": "2022-05-17T05:41:08Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2011-2087"
},
{
"type": "WEB",
"url": "https://github.com/apache/struts/commit/1736b56db702c6639a6d5ae1146dba5a262e3344"
},
{
"type": "PACKAGE",
"url": "https://github.com/apache/struts"
},
{
"type": "WEB",
"url": "https://issues.apache.org/jira/browse/WW-3597"
},
{
"type": "WEB",
"url": "https://issues.apache.org/jira/browse/WW-3608"
},
{
"type": "WEB",
"url": "http://struts.apache.org/2.2.3/docs/version-notes-223.html"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "Apache Struts Multiple XSS Vulnerabilities"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.