Home / Apache Software Foundation / Apache TomEE / CVE-2018-8031
CVE-2018-8031: is it exploited, and which versions of Apache Software Foundation Apache TomEE are affected and fixed?
CVE-2018-8031 is a cross-site scripting (XSS) vulnerability in Apache Software Foundation Apache TomEE. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:08 UTC). Affected: org.apache.tomee:tomee-webapp before 7.0.5 (GitHub advisory GHSA-fg44-w3fr-hgxv). Fixed in 7.0.5 (GitHub advisory GHSA-fg44-w3fr-hgxv). Severity: Medium (6.1, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:30 UTC.
What is CVE-2018-8031?
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.
From the CVE record by apache, last updated September 16, 2024, 17:58 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache TomEE | < 7.0.5 |
As the CVE record by apache states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.tomee:tomee-webapp | < 7.0.5 | 7.0.5 | GHSA-fg44-w3fr-hgxv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 8, 2022. Summary: Apache TomEE console vulnerable to Cross-site Scripting.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | tomee | before 7.0.5 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:04 UTC.
How severe is CVE-2018-8031?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-8031 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.00% probability of exploitation activity in the next 30 days, percentile 81.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- [tomee-dev] 20180723 CVE-2018-8031 Apache TomEE Webapp XSS mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- March 9, 2018
- Published
- July 23, 2018, 22:00 UTC
- CVE record updated
- September 16, 2024, 17:58 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 02:04 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:30 UTC; KEV December 3, 2026, 08:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache TomEE?
- Nov 10, 2026CVE-2026-86336 Apache Software Foundation Apache TomEE: missing authorization
- Nov 10, 2026CVE-2026-86531 Apache Software Foundation Apache TomEE: denial of service (resources allocated without limits)
- Nov 10, 2026CVE-2026-87758 Apache Software Foundation Apache TomEE: certificate host not checked
- Nov 10, 2026CVE-2026-97849 Apache Software Foundation Apache TomEE: binding to an Unrestricted IP Address
- Nov 10, 2026CVE-2026-97867 Apache Software Foundation Apache TomEE: credentials insufficiently protected
- Nov 10, 2026CVE-2026-97870 Apache Software Foundation Apache TomEE: missing authentication for a critical function
- Nov 10, 2026CVE-2026-97872 Apache Software Foundation Apache TomEE: missing authentication for a critical function
- Nov 10, 2026CVE-2026-97874 Apache Software Foundation Apache TomEE: authentication bypass (improper authentication)
Questions about CVE-2018-8031
Is CVE-2018-8031 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:08 UTC. FIRST's EPSS gives it a 2.00% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache TomEE are affected by CVE-2018-8031?
org.apache.tomee:tomee-webapp before 7.0.5, per the GitHub advisory GHSA-fg44-w3fr-hgxv. The tables above give every range the sources list.
Which version fixes CVE-2018-8031?
7.0.5, per the GitHub advisory GHSA-fg44-w3fr-hgxv. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-8031?
Medium (6.1, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-8031?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.