# CVE-2021-3314: Oracle GlassFish Server 3.1.2.18 and below allows /common/logViewer/logViewer.jsf XSS.

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.93%, higher than 59% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-06-25T15:16:11.000Z
- Modified: 2026-06-17T04:04:55.580Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

Oracle GlassFish Server 3.1.2.18 and below allows /common/logViewer/logViewer.jsf XSS. A malicious user can cause an administrator user to supply dangerous content to the vulnerable page, which is then reflected back to the user and executed by the web browser. The most common mechanism for delivering malicious content is to include it as a parameter in a URL that is posted publicly or e-mailed directly to victims. NOTE: This vulnerability only affects products that are no longer supported by the maintainer

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- oracle glassfish_server: up to 3.1.2.18

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://n4nj0.github.io/advisories/oracle-glassfish-reflected-xss/> (exploit, third-party-advisory)
- <https://www.gruppotim.it/redteam> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-3314](https://www.cve.org/CVERecord?id=CVE-2021-3314), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3314](https://nvd.nist.gov/vuln/detail/CVE-2021-3314), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3314 · Whole record: https://cve.day/CVE-2021-3314.json · Rebuilt by cve.day 2026-11-25T22:58:02.321Z
