CVE-2025-64758 @dependencytrack/frontend Vulnerable to Persistent Cross-Site-Scripting via Welcome Message
Administrators can inject arbitrary JavaScript into the login page welcome message, potentially compromising user sessions and data.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-64758?
CVE-2025-64758 is a medium-severity cross-site scripting vulnerability in DependencyTrack frontend, published on 17 Nov 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
@dependencytrack/frontend is a Single Page Application (SPA) used in Dependency-Track, an open source Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain. 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. Users with the SYSTEM_CONFIGURATION permission (i.e., administrators), can exploit this weakness to execute arbitrary JavaScript for users browsing to the login page. The issue has been fixed in version 4.13.6.
Weakness: CWE-79
Which versions are affected by CVE-2025-64758?
2 open source packages ship an affected version, including @dependencytrack/frontend.
| Package | Affected | Fixed in |
|---|---|---|
@dependencytrack/frontend npm | From 4.12.0 | 4.13.6 |
@dependencytrack/frontend npm | From 4.12.0 | 4.13.6 |
How do I fix CVE-2025-64758?
Upgrade @dependencytrack/frontend to 4.13.6 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-64758 being exploited?
There is no known exploitation of CVE-2025-64758 in the wild and no public exploit code.
Sources
Also known as GHSA-7xvh-c266-cfr5.