# CVE-2021-25935: In OpenNMS Horizon, versions opennms-17.0.0-1 through opennms-27.1.0-1; OpenNMS Meridian, versions meridian-foundation-2015.1.0-1 through m…

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- 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.91%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-25T18:32:59.000Z
- Modified: 2026-06-17T03:42:37.120Z
- Weaknesses: CWE-79
- Assigned by: Mend

## Description

In OpenNMS Horizon, versions opennms-17.0.0-1 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.7-1 are vulnerable to Stored Cross-Site Scripting, since the function `add()` performs improper validation checks on the input sent to the `foreign-source` parameter. Due to this flaw an attacker could bypass the existing regex validation and inject an arbitrary script which will be stored in the database.

(As written by CVE List.)

## Affected

- OpenNMS: opennms-17.0.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.7-1
- opennms horizon: from 17.0.0 up to 27.1.0
- opennms meridian: from 2015.1.0 up to 2019.1.18; from 2020.1.0 up to 2020.1.7

## Every score

- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25935> (exploit, third-party-advisory)
- <https://github.com/OpenNMS/opennms/commit/eb08b5ed4c5548f3e941a1f0d0363ae4439fa98c> (patch, third-party-advisory)
- <https://github.com/OpenNMS/opennms/commit/101e3aa06ec9a1f8f266335fc6f5685c062c6117> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-25935](https://www.cve.org/CVERecord?id=CVE-2021-25935), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-25935](https://nvd.nist.gov/vuln/detail/CVE-2021-25935), Public domain, modified 2026-06-17

---

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