# CVE-2023-40312: OpenNMS vulnerable to Cross-site Scripting

Source: https://junglewise.ai/threats/cve-2023-40312-opennms-vulnerable-to-cross-site-scripting  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-08-14  
License: CC BY 4.0 with a link back

CVE-2023-40312 · Severity: low · CVSS 3.1 · Published 2023-08-14

OpenNMS vulnerable to Cross-site Scripting

Technologies: [org.opennms:opennms-webapp (Maven)](https://junglewise.ai/threats/technologies/org-opennms-opennms-webapp). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2023-40312 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-40312 being exploited in the wild.

**How severe is CVE-2023-40312?** Low severity, with a CVSS score of 3.1, published 14 August 2023.

**Which products and versions are affected?** org.opennms:opennms-webapp (Maven) ECOSYSTEM:introduced=31.0.8,fixed=32.0.2.

**Is there a fix for CVE-2023-40312?** Yes. org.opennms:opennms-webapp (Maven): upgrade to 32.0.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-40312?** Check whether you run org.opennms:opennms-webapp (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.opennms:opennms-webapp (Maven): upgrade to 32.0.2 or later

  ```sh
  # set org.opennms:opennms-webapp to 32.0.2 in your pom.xml or build.gradle
  ```


## Affected products

- org.opennms:opennms-webapp (Maven) ECOSYSTEM:introduced=31.0.8,fixed=32.0.2

## Identifiers

- CVE-2023-40312
- GHSA-chgr-j2p9-jjh8

## Related threats

- [OpenNMS Cross-site Scripting vulnerability](https://junglewise.ai/threats/cve-2023-40314-opennms-cross-site-scripting-vulnerability)
- [OpenNMS vulnerable to Cross-site Scripting](https://junglewise.ai/threats/cve-2023-40311-opennms-vulnerable-to-cross-site-scripting)
- [OpenNMS Meridian and Horizon vulnerable to Cross-Site Request Forgery](https://junglewise.ai/threats/cve-2023-0870-opennms-meridian-and-horizon-vulnerable-to-cross-site-request)
- [OpenNMS Meridian and Horizon vulnerable to Cross-site Scripting](https://junglewise.ai/threats/cve-2023-0868-opennms-meridian-and-horizon-vulnerable-to-cross-site-scripting)
