CVE-2023-0846

Unauthenticated, stored XSS in display of alarm reduction-key

Description

Unauthenticated, stored cross-site scripting in the display of alarm reduction keys in multiple versions of OpenNMS Horizon and Meridian could allow an attacker access to confidential session information. Users should upgrade to Meridian 2023.1.0 or newer, or Horizon 31.0.4. Meridian and Horizon installation instructions state that they are intended for installation within an organization's private networks and should not be directly accessible from the Internet.

Remediation

Solution:

  • https://github.com/OpenNMS/opennms/pull/5506/files Upgrade to a newer version of Meridian or Horizon. Or change the details.jsp file as follows:  Change:  Reduction Key                     <% if (alarm.getReductionKey() != null) {%>             <%=alarm.getReductionKey()%>             <% } else {%>                           <% }%> To: Reduction Key                     <% if (alarm.getReductionKey() != null) {%>             <%=WebSecurityUtils.sanitizeString(alarm.getReductionKey())%>             <% } else {%>                           <% }%> https://github.com/OpenNMS/opennms/pull/5506/files https://github.com/OpenNMS/opennms/pull/5506/files

Category

6.7
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.23%
Affected: The OpenNMS Group Horizon
Affected: The OpenNMS Group Meridian
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-0846?
CVE-2023-0846 has been scored as a medium severity vulnerability.
How to fix CVE-2023-0846?
To fix CVE-2023-0846: https://github.com/OpenNMS/opennms/pull/5506/files Upgrade to a newer version of Meridian or Horizon. Or change the details.jsp file as follows:  Change:  Reduction Key                     <% if (alarm.getReductionKey() != null) {%>             <%=alarm.getReductionKey()%>             <% } else {%>                           <% }%> To: Reduction Key                     <% if (alarm.getReductionKey() != null) {%>             <%=WebSecurityUtils.sanitizeString(alarm.getReductionKey())%>             <% } else {%>                           <% }%> https://github.com/OpenNMS/opennms/pull/5506/files https://github.com/OpenNMS/opennms/pull/5506/files
Is CVE-2023-0846 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-0846 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-0846?
CVE-2023-0846 affects The OpenNMS Group Horizon, The OpenNMS Group Meridian.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.