CVE-2025-14202 Cross-Site Request Forgery (CSRF) Leading to Account Takeover via SVG File Upload
Attackers can upload malicious SVGs to execute JavaScript in admin browsers, stealing CSRF tokens to change passwords and take over accounts.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-14202?
CVE-2025-14202 is a high-severity cross-site scripting vulnerability in LinkDing, published on 17 Dec 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A vulnerability in the file upload at bookmark + asset rendering pipeline allows an attacker to upload a malicious SVG file with JavaScript content. When an authenticated admin user views the SVG file with embedded JavaScript code of shared bookmark, JavaScript executes in the admin’s browser, retrieves the CSRF token, and sends a request to change the admin's password resulting in a full account takeover.
Weakness: CWE-79
Which versions are affected by CVE-2025-14202?
How do I fix CVE-2025-14202?
No fix has been published for CVE-2025-14202 yet. Limit exposure of the affected software until one is available.
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-14202 being exploited?
There is no known exploitation of CVE-2025-14202 in the wild and no public exploit code.
Sources
Also known as GHSA-cpg4-p69m-3fq5.