CVE-2021-25934: OpenNMS Horizon vulnerable to XSS

org.opennms:opennms Updated 02 Oct 2025

Summary

24/05/2022
No i
Moderate
Not published

CVE-2021-25934: OpenNMS Horizon vulnerable to XSS. Affects org.opennms:opennms versions >= 18.0.0-1, <= 27.1.0-1. No fix is published. 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 Horizon is an open-source network management platform that provides network monitoring and management capabilities. It is widely used for monitoring and managing large networks. The vulnerability described in this report affects versions opennms-18.0.0-1 through opennms-27.1.0-1 of OpenNMS Horizon. This vulnerability allows for Stored Cross-Site Scripting (XSS) attacks due to the lack of input validation in the createRequisitionedNode() function's node-label parameter. As a result, an attacker can inject arbitrary scripts that will be stored in the database.

Vulnerability Detail

The vulnerability in OpenNMS Horizon allows an attacker to execute arbitrary scripts in the context of a user's browser. This can lead to various security risks, including unauthorized access to sensitive information, session hijacking, and phishing attacks. The lack of input validation in the node-label parameter allows an attacker to inject malicious scripts that will be stored in the database and executed when accessed by other users. This vulnerability can be exploited by tricking a user into visiting a specially crafted webpage or clicking on a malicious link.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to apply the provided patches or update to a non-affected version of OpenNMS Horizon.

Conclusion

The vulnerability in OpenNMS Horizon allows for Stored Cross-Site Scripting (XSS) attacks, which can have serious security implications. It is crucial to update to a patched version or apply the provided patches to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.opennms:opennms →

Share this vulnerability

FAQ

This vulnerability allows an attacker to execute arbitrary scripts in the context of a user's browser, potentially leading to unauthorized access, session hijacking, and phishing attacks.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your version of OpenNMS Horizon is affected by this vulnerability. Simply provide your pom.xml file, and Vulert will analyze it for any known vulnerabilities.

There are currently no known public exploits for this vulnerability. However, it is important to apply the patches or update to a non-affected version to mitigate the risk.

Yes, this vulnerability has been assigned the CVE identifier CVE-2021-25934.

Related vulnerabilities

Recent vulnerabilities recorded for org.opennms:opennms.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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