UMeditor
cpe:2.3:a:umeditor_project:umeditor:*:*:*:*:*:*:*
- 1.2.2
A DOM clobbering vulnerability has been identified in UMeditor version 1.2.3. This vulnerability allows attackers to execute arbitrary code by injecting a crafted HTML element. The issue arises because UMeditor relies on the 'UMEDITOR_HOME_URL' property to load resources. An attacker can override this property by injecting an element with a specific ID, potentially leading to the execution of malicious scripts or the loading of resources from an attacker's server.
Exploitation of this vulnerability could lead to cross-site scripting (XSS) attacks, allowing for the execution of malicious scripts in the context of the user's browser.
To reproduce this vulnerability, inject an HTML element, such as an 'a' tag, with an unsanitized 'id' attribute set to 'UMEDITOR_HOME_URL'. This will override the default resource loading URL with one controlled by the attacker. Once the element is injected, UMeditor will load resources from the attacker's domain, where malicious scripts could be hosted and executed.
To address this vulnerability, UMeditor should be updated to a version that does not rely on the global window object or the named DOM access mechanism for configuration settings. Instead, a specific configuration object that is less vulnerable to DOM clobbering should be used.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.