CVE-2023-40311: OpenNMS opennms-webapp Cross-site Scripting Vulnerability

org.opennms:opennms-webapp Updated 02 Oct 2025

Summary

14/08/2023
Yes i
Moderate
6.7

CVE-2023-40311: OpenNMS vulnerable to Cross-site Scripting. Affects org.opennms:opennms-webapp versions >= 31.0.8, < 32.0.2. Fixed in 32.0.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

OpenNMS is an open-source network management platform that provides network monitoring and management capabilities. The opennms-webapp package is a component of OpenNMS that handles web-based user interfaces. It allows users to access and interact with the network monitoring system through a web browser. However, versions prior to 32.0.2 of opennms-webapp are vulnerable to multiple stored cross-site scripting (XSS) attacks.

Vulnerability Detail

The vulnerability arises from unsanitized parameters in various JSP files used by OpenNMS Horizon 31.0.8 and earlier versions. Attackers can exploit this vulnerability by injecting malicious scripts into the database, which are then loaded and executed on JSPs or Angular templates. This can lead to the execution of arbitrary code or the theft of sensitive information. The severity of this vulnerability is rated as MODERATE with a CVSS score of 6.7.

How To Fix

Minimum fixed version

32.0.2

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. Upgrading to the patched versions is the recommended solution.

Conclusion

The OpenNMS opennms-webapp package is vulnerable to stored cross-site scripting (XSS) attacks. Upgrading to the recommended patched versions is crucial to mitigate this vulnerability. It is also important to follow best practices and deploy OpenNMS installations within private networks. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.opennms:opennms-webapp →

Share this vulnerability

FAQ

OpenNMS is an open-source network management platform that provides network monitoring and management capabilities.

opennms-webapp is a component of OpenNMS that handles web-based user interfaces, allowing users to access and interact with the network monitoring system through a web browser.

Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to the execution of arbitrary code or the theft of sensitive information.

The potential consequences of this vulnerability include the execution of arbitrary code on the affected system, the theft of sensitive information, and the compromise of user accounts.

To mitigate this vulnerability, it is recommended to upgrade to the latest patched versions of OpenNMS, as mentioned in the 'how_to_fix' section. Additionally, ensure that OpenNMS installations are deployed within private networks and not directly accessible from the internet.

Related vulnerabilities

Recent vulnerabilities recorded for org.opennms:opennms-webapp.

How To Fix

Minimum fixed version

32.0.2

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback