CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV 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
Exploit odds (EPSS)
2.00% in 30 days
higher than 81% of CVEs; FIRST, December 2, 2026

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?

VendorProductAffectedFixed or not affected from
Apache Software FoundationApache 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?

EcosystemPackageAffectedFixed inAdvisory
Mavenorg.apache.tomee:tomee-webapp< 7.0.57.0.5GHSA-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?

VendorProductVersionsType
apachetomeebefore 7.0.5application

NVD analysis (status Modified), last modified June 17, 2026, 02:04 UTC.

How severe is CVE-2018-8031?

ScoreVersionVectorSource
Medium 6.1CVSS 3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NNVD
Medium 4.3CVSS 2.0AV:N/AC:M/Au:N/C:N/I:P/A:NNVD

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?

Where are the vendor advisories and references?

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?

Every CVE in Apache TomEE

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.