# CVE-2018-8031

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-07-23 · Modified: 2024-09-16
- Aliases: GHSA-fg44-w3fr-hgxv
- Record: https://cvemate.com/vulnerability/CVE-2018-8031 · JSON: https://cvemate.com/vulnerability/CVE-2018-8031/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 2.003%, percentile 81.479%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache tomee: \< 7.0.5
- apache tomee: \< 7.0.5
- org.apache.tomee tomee-webapp (Maven): \< 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>
- <https://github.com/apache/tomee/commit/b8bbf50c23ce97dd64f3a5d77f78f84e47579863>
- <https://github.com/apache/tomee>
- <https://lists.apache.org/thread.html/c4b0d83a534d6cdf2de54dbbd00e3538072ac2e360781b784608ed0d@%3Cdev.tomee.apache.org%3E>

---

Data as of 2026-12-05T03:28:11.239Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
