CVE-2010-2086 — myfaces-core-module
CVE-2010-2086 is a Cross-site Scripting (XSS) vulnerability in org.apache.myfaces.core:myfaces-core-module. The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.
Apache MyFaces Cross-site Scripting vulnerability
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.apache.myfaces.core:myfaces-core-module☕org.apache.myfaces.core:myfaces-core-moduleReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Apache MyFaces 1.1.7 and 1.2.8 (All previous versions are likely vulnerable), as used in IBM WebSphere Application Server and other applications, does not properly handle an unencrypted view state, which allows remote attackers to conduct cross-site scripting (XSS) attacks or execute arbitrary Expression Language (EL) statements via vectors that involve modifying the serialized view object.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.myfaces.core:myfaces-core-module | all versions | No fix |
| ☕Maven | org.apache.myfaces.core:myfaces-core-module | ≥ 1.2.0 | No fix |
Affected Products
myfacesapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.myfaces.core:myfaces-core-module, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Remediation status
The records we use list no patched version of org.apache.myfaces.core:myfaces-core-module for CVE-2010-2086. Check the maintainer's advisory, and where your build allows, override or pin the dependency away from the vulnerable range.
Mitigate without a patch
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| JBEWS 1.0 for RHEL 4 | glassfish-jsf-0:1.2_13-2.ep5.el4 | RHSA-2010:0119 |
Frequently Asked Questions
Is CVE-2010-2086 in your dependencies?
Find it across Maven, including transitive dependencies.