CVE-2025-41085
Description
Stored Cross-Site Scripting (XSS) vulnerability type in Apidog in the version 2.7.15, where SVG image uploads are not properly sanitized. This allows attackers to embed malicious scripts in SVG files by sending a POST request to '/api/v1/user-avatar', which are then stored on the server and executed in the context of any user accessing the compromised resource.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A stored XSS vulnerability in Apidog 2.7.15 allows attackers to inject malicious scripts via unsanitized SVG avatar uploads.
Vulnerability
Overview
CVE-2025-41085 is a stored Cross-Site Scripting (XSS) vulnerability in the Apidog web platform, version 2.7.15. The root cause is improper sanitization of SVG image files during avatar uploads. An attacker can craft an SVG file containing embedded JavaScript and submit it via a POST request to the /api/v1/user-avatar endpoint. The malicious file is then stored on the server without validation, making it available to other users [1].
Exploitation
Prerequisites
To exploit this vulnerability, an attacker must have a valid user account on the Apidog instance, as the upload endpoint requires authentication. The attack is performed over the network with low complexity and does not require advanced privileges beyond a standard user account and relies on user interaction (e.g., viewing the attacker's profile or a page that loads the avatar). The CVSS v4.0 base score is 5.1 (Medium) with the vector AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N [1].
Impact
Successful exploitation allows the attacker to execute arbitrary scripts in the context of any user who accesses the compromised resource (e.g., viewing the attacker's avatar). This can lead to session hijacking, defacement, or theft of sensitive information displayed in the user's browser. The scope is changed because the injected script can affect the confidentiality and integrity of the web application's security context [1].
Mitigation
Status
As of the publication date (2026-02-04, no official patch or solution has been released by Apidog. Users are advised to restrict avatar uploads to non-SVG formats or implement server-side sanitization of SVG files as a workaround until a vendor fix becomes available [1].
AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
1News mentions
0No linked articles in our index yet.