Overview
Openmct versions 1.3.0 to 1.7.7 are vulnerable against stored XSS via the “Summary Widget” element, that allows the injection of malicious JavaScript into the ‘URL’ field.
Details
Openmct versions 1.3.0 to 1.7.7 are vulnerable against stored XSS via the “Summary Widget”, that allows the injection of malicious JavaScript into the ‘URL’ field. It allows malicious data to be part of the website and run within the user’s browser under the privileges of the web application
PoC Details
Create button in order to use the “Summary Widget” plugin, submit javascript:alert(“XSS”) in the URL field. Inside the DOM, we can see that the malicious payload was assigned into the “src” attribute of the iframe.
PoC Code
javascript:alert(“XSS”)
Affected Environments
1.3.0-1.7.7
Prevention
Update to version 1.7.8