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

org.opennms:opennms-webapp Updated 02 Oct 2025

Summary

14/08/2023
Yes i
Moderate
6.7

CVE-2023-40312: 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

OpenNMS is an open-source network management platform that provides network monitoring and management capabilities. It is designed for installation within an organization's private networks and should not be directly accessible from the Internet. The vulnerable component in OpenNMS is the 'opennms-webapp' package.

Vulnerability Detail

Multiple reflected XSS vulnerabilities have been discovered in OpenNMS Horizon 31.0.8 and earlier versions up to 32.0.2. These vulnerabilities exist in various JSP files that contain unsanitized parameters, which can be manipulated by an attacker to inject malicious XSS payloads. The impact of these vulnerabilities can range from unauthorized access to sensitive information to the execution of arbitrary code in the context of the victim's browser.

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 known workaround for this vulnerability. It is essential to apply the recommended fixes by upgrading to the patched versions of OpenNMS.

Conclusion

OpenNMS Horizon versions 31.0.8 and earlier up to 32.0.2 are vulnerable to multiple reflected XSS vulnerabilities. These vulnerabilities can be exploited by attackers to inject malicious scripts and potentially gain unauthorized access or execute arbitrary code in the victim's browser. To mitigate this vulnerability, it is crucial to upgrade to the recommended patched versions of OpenNMS. For further support on 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.

A reflected XSS vulnerability occurs when user-supplied data is not properly sanitized and is directly included in the output of a web application. This allows an attacker to inject malicious scripts that are executed in the victim's browser.

The consequences of this vulnerability can vary depending on the attacker's intentions. Possible impacts include unauthorized access to sensitive information, manipulation of user sessions, and the execution of arbitrary code in the victim's browser.

To mitigate this vulnerability, it is crucial to upgrade to the recommended patched versions of OpenNMS. Additionally, following security best practices such as input validation and output encoding can help prevent XSS vulnerabilities.

Unfortunately, there is no known temporary measure or workaround for this vulnerability. It is essential to apply the recommended fixes by upgrading to the patched versions of OpenNMS.

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