Cross-site scripting in Apache TomEE
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
The Apache TomEE console (tomee-webapp) has a XSS vulnerability which could allow javascript to be executed if the user is given a malicious URL. This web application is typically used to add TomEE features to a Tomcat installation. The TomEE bundles do not ship with this application included. This issue can be mitigated by removing the application after TomEE is setup (if using the application to install TomEE), using one of the provided pre-configured bundles, or by upgrading to TomEE 7.0.5. This issue is resolve in this commit: b8bbf50c23ce97dd64f3a5d77f78f84e47579863.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache TomEE | before 7.0.5 | 7.0.5 | Patch available | CNA |
| — | org.apache.tomee:tomee-webapp (Maven) | before 7.0.5 | 7.0.5 | Patch available | GHSA-fg44-w3fr-hgxv |
- Apache TomEE VendorApache Affected before 7.0.5 Fixed in 7.0.5 Patch available CNA
- org.apache.tomee:tomee-webapp (Maven) Vendor— Affected before 7.0.5 Fixed in 7.0.5 Patch available GHSA-fg44-w3fr-hgxv
Remediation
- Fix · CNA Apache TomEE (Apache Software Foundation) Fixed in 7.0.5
- Fix · GHSA-fg44-w3fr-hgxv org.apache.tomee:tomee-webapp (Maven) Fixed in 7.0.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2018-8031
- 2026-10-03 Alias added: GHSA-fg44-w3fr-hgxv
References
More Apache Tomee vulnerabilities
- TI-2021-12641 Incorrect Transfer-Encoding handling with HTTP/1.0 CVSS 3.1MEDIUM 5.3
- TI-2019-10436 initDocumentParser in xml/XMLSchedulingDataProcessor.java in Terracotta Quartz Scheduler… CVSS 3.1CRITICAL 9.8
- TI-2016-00697 The EjbObjectInputStream class in Apache TomEE before 1.7.4 and 7.x before 7.0.0-M3… CVSS 3.0CRITICAL 9.8
- TI-2021-17647 Bypass of the secureValidation property CVSS 3.1HIGH 7.5
- TI-2020-09630 Missing authentication in Apache TomEE CVSS 3.1CRITICAL 9.8
- TI-2020-10908 Missing authentication in Apache TomEE CVSS 3.1CRITICAL 9.8
Sources
- CVE-2018-8031 · CVE Program
- CVE-2018-8031 · NVD
- FIRST EPSS
- GHSA-fg44-w3fr-hgxv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences