XSS in Opennms Horizon

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 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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.009 (56.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Affected products

  • Opennms Horizon
  • Opennms Meridian
  • N/a Opennms — versions 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

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-25935?
CVE-2021-25935 is a medium-severity vulnerability in Opennms Horizon, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2021-05-25.
How severe is CVE-2021-25935?
Medium severity. CVSS v3 base score is 5.4 out of 10.