# CVE-2023-40312: Reflected XSS in multiple JSP files in opennms/opennms

- Severity: Medium 6.7 (CVSS:3.1, scored by OpenNMS) `CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/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.64%, higher than 52% of CVEs (2026-12-01)
- Published: 2023-08-14T17:35:26.710Z
- Modified: 2026-06-17T06:17:12.913Z
- Also known as: GHSA-chgr-j2p9-jjh8
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: OpenNMS

## Description

Multiple reflected XSS were found on different JSP files with unsanitized parameters in OpenMNS Horizon 31.0.8 and versions earlier than 32.0.2 on multiple platforms that an attacker can modify to craft a malicious XSS payload. The solution is to upgrade to Meridian 2023.1.6, 2022.1.19, 2021.1.30, 2020.1.38 or Horizon 32.0.2 or newer. Meridian and Horizon installation instructions state that they are intended for installation within an organization's private networks and should not be directly accessible from the Internet. OpenNMS thanks Jordi Miralles Comins for reporting this issue.

(As written by CVE List.)

## Affected

- The OpenNMS Group Horizon: from 31.0.8 before 32.0.2; before 31.0.8
- The OpenNMS Group Meridian: from 2020.0.0 up to 2020.1.37; from 2021.0.0 up to 2021.1.29; from 2022.0.0 up to 2022.1.18; from 2023.0.0 up to 2023.1.5
- org.opennms:opennms-webapp (Maven): from 31.0.8 before 32.0.2
- opennms horizon: from 31.0.8 before 32.0.2
- opennms meridian: before 2020.1.38; from 2022.1.0 before 2022.1.19; from 2023.1.0 before 2023.1.6

## Every score

- OpenNMS: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 5.2 Medium `CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://docs.opennms.com/horizon/32/releasenotes/changelog.html> (release-notes, web)
- <https://github.com/OpenNMS/opennms/pull/6356> (patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-40312> (advisory)
- <https://github.com/OpenNMS/opennms/commit/1365ba9129f1762707fdbf1edd1f3e460bfb31e0> (web)
- <https://github.com/OpenNMS/opennms> (package)

## Sources

- CVE List: [CVE-2023-40312](https://www.cve.org/CVERecord?id=CVE-2023-40312), CVE Terms of Use, modified 2024-09-27
- GitHub Advisory Database: [GHSA-chgr-j2p9-jjh8](https://github.com/advisories/GHSA-chgr-j2p9-jjh8), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-40312](https://nvd.nist.gov/vuln/detail/CVE-2023-40312), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-40312 · Whole record: https://cve.day/CVE-2023-40312.json · Rebuilt by cve.day 2026-11-25T22:58:27.108Z
