Description
Since version 4.12.0, Dependency-Track users with the SYSTEM_CONFIGURATION permission can configure a "welcome message", which is HTML that is to be rendered on the login page for branding purposes.
When rendering the welcome message, Dependency-Track versions before 4.13.6 did not properly sanitize the HTML, allowing arbitrary JavaScript to be executed.
Impact
Users with the SYSTEM_CONFIGURATION permission (i.e., administrators), can exploit this weakness to execute arbitrary JavaScript for users browsing to the login page.
Patches
The issue has been fixed in version 4.13.6.
References
- The issue was introduced via: #986
- The issue was fixed via: #1378
Credit
Thanks to Jonas Benjamin Friedli for identifying and responsibly disclosing the issue.
Description
Since version 4.12.0, Dependency-Track users with the
SYSTEM_CONFIGURATIONpermission can configure a "welcome message", which is HTML that is to be rendered on the login page for branding purposes.When rendering the welcome message, Dependency-Track versions before 4.13.6 did not properly sanitize the HTML, allowing arbitrary JavaScript to be executed.
Impact
Users with the
SYSTEM_CONFIGURATIONpermission (i.e., administrators), can exploit this weakness to execute arbitrary JavaScript for users browsing to the login page.Patches
The issue has been fixed in version 4.13.6.
References
Credit
Thanks to Jonas Benjamin Friedli for identifying and responsibly disclosing the issue.