Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.opennms/opennms
  4. ›
  5. CVE-2021-25931

CVE-2021-25931: Cross-Site Request Forgery in OpenNMS Horizon

May 25, 2021 (updated May 1, 2025)

In OpenNMS Horizon, versions opennms-1-0-stable through opennms-27.1.1; OpenNMS Meridian, versions meridian-foundation-2015.1.0-1 through meridian-foundation-2019.1.18-1; meridian-foundation-2020.1.0-1 through meridian-foundation-2020.1.6-1 are vulnerable to CSRF, due to no CSRF protection at /opennms/admin/userGroupView/users/updateUser. This flaw allows assigning ROLE_ADMIN security role to a normal user. Using this flaw, an attacker can trick the admin user to assign administrator privileges to a normal user by enticing him to click upon an attacker-controlled website.

References

  • github.com/OpenNMS/opennms
  • github.com/OpenNMS/opennms/commit/607151ea8f90212a3fb37c977fa57c7d58d26a84
  • github.com/OpenNMS/opennms/commit/eb08b5ed4c5548f3e941a1f0d0363ae4439fa98c
  • github.com/advisories/GHSA-2rq5-68hm-h4j8
  • nvd.nist.gov/vuln/detail/CVE-2021-25931
  • www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25931

Code Behaviors & Features

Detect and mitigate CVE-2021-25931 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.0.0 before 27.1.1

Fixed versions

  • 27.1.1

Solution

Upgrade to version 27.1.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

maven/org.opennms/opennms/CVE-2021-25931.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:05 +0000.