CVE-2018-8031
MEDIUM 6.1CVSS 3.0Apache TomEE console vulnerable to Cross-site Scripting
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.
- Published
- 23 Jul 2018
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-fg44-w3fr-hgxv
- Sources
- NVDJSONOSV GHSA-fg44-w3fr-hgxvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | tomeecpe:2.3:a:apache:tomee:*:*:*:*:*:*:*:* |
< 7.0.5 | 7.0.5 |
| OSV | Maven | org.apache.tomee:tomee-webapp | < 7.0.5 | 7.0.5 |
References
- https://lists.apache.org/thread.html/c4b0d83a534d6cdf2de54dbbd00e3538072ac2e360781b784608ed0d%40%3Cdev.tomee.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2018-8031 · ADVISORY
- https://github.com/apache/tomee/commit/b8bbf50c23ce97dd64f3a5d77f78f84e47579863 · WEB
- https://github.com/apache/tomee · PACKAGE
- https://lists.apache.org/thread.html/c4b0d83a534d6cdf2de54dbbd00e3538072ac2e360781b784608ed0d@%3Cdev.tomee.apache.org%3E · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 23 Jul 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 May 2022)