{"id":"GHSA-9hhc-cc6c-99hh","summary":"OpenNMS Horizon vulnerable to XSS","details":"In OpenNMS Horizon, versions opennms-18.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 `createRequisitionedNode()` does not perform any validation checks on the input sent to the `node-label` parameter. Due to this flaw an attacker could inject an arbitrary script which will be stored in the database.","aliases":["CVE-2021-25934"],"modified":"2023-11-08T04:05:17.835882Z","published":"2022-05-24T19:03:10Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-07-13T17:03:30Z","nvd_published_at":"2021-05-25T19:15:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25934"},{"type":"WEB","url":"https://github.com/OpenNMS/opennms/commit/101e3aa06ec9a1f8f266335fc6f5685c062c6117"},{"type":"WEB","url":"https://github.com/OpenNMS/opennms/commit/eb08b5ed4c5548f3e941a1f0d0363ae4439fa98c"},{"type":"WEB","url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25934"}],"affected":[{"package":{"name":"org.opennms:opennms","ecosystem":"Maven","purl":"pkg:maven/org.opennms/opennms"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"18.0.0-1"},{"last_affected":"27.1.0-1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-9hhc-cc6c-99hh/GHSA-9hhc-cc6c-99hh.json"}}],"schema_version":"1.9.0"}