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

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-20T14:54:36.000Z
- Modified: 2026-06-17T03:42:36.570Z
- Also known as: GHSA-2rq5-68hm-h4j8
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: Mend

## Description

In OpenNMS Horizon, versions opennms-1-0-stable through opennms-27.1.0-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.

(As written by CVE List.)

## Affected

- OpenNMS: opennms-1-0-stable,opennms-1.0.1 through opennms-27.1.0-1,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
- org.opennms:opennms (Maven): from 1.0.0 before 27.1.1
- opennms horizon: from 1.0 before 27.1.1
- opennms meridian: from 2015.1.0 before 2019.1.19; from 2020.1.0 before 2020.1.7

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25931> (exploit, third-party-advisory, web)
- <https://github.com/OpenNMS/opennms/commit/607151ea8f90212a3fb37c977fa57c7d58d26a84> (patch, third-party-advisory, web)
- <https://github.com/OpenNMS/opennms/commit/eb08b5ed4c5548f3e941a1f0d0363ae4439fa98c> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25931> (advisory)
- <https://github.com/OpenNMS/opennms> (package)

## Sources

- CVE List: [CVE-2021-25931](https://www.cve.org/CVERecord?id=CVE-2021-25931), CVE Terms of Use, modified 2025-04-30
- GitHub Advisory Database: [GHSA-2rq5-68hm-h4j8](https://github.com/advisories/GHSA-2rq5-68hm-h4j8), CC-BY-4.0, modified 2025-05-01
- NVD: [CVE-2021-25931](https://nvd.nist.gov/vuln/detail/CVE-2021-25931), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25931 · Whole record: https://cve.day/CVE-2021-25931.json · Rebuilt by cve.day 2026-11-25T22:58:01.472Z
