CVE-2025-53831: Stored XSS in DrawIO for ownCloud (CVSS 8.2 HIGH)
DrawIO for ownCloud contains a stored cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious scripts into the application. When other users view content created by an attacker, the injected script executes in their browser with their privileges, potentially compromising their accounts or sensitive data. The vulnerability stems from insufficient input validation when generating web pages. An attacker needs valid access to the DrawIO app to exploit it, but the resulting attack affects any user who interacts with the malicious content.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 8.2 HIGH · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L
- Weaknesses (CWE)
- CWE-79
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-07-06 / 2026-07-06
NVD description (verbatim)
DrawIO for ownCloud is an application for using DrawIO with the file storage, synchronization, and sharing application ownCloud Classic. In DrawIO for ownCloud prior to version 1.0.2, which corresponds to ownCloud 10 prior to version 10.15.3, attackers with access to the DrawIO app can leverage improper neutralization of input during web page generation to achieve stored XSS. Upgrade ownCloud 10 to version 10.15.3 or later or upgrade DrawIO for ownCloud 10 to version 1.0.2 or later to receive a patch.
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2025-53831 is a stored XSS vulnerability (CWE-79) in DrawIO for ownCloud caused by improper neutralization of user input during HTML generation. The flaw allows authenticated attackers to inject arbitrary JavaScript that persists in the application's data store. When subsequent users access the compromised drawing or document, the malicious script executes in their browser context with their session privileges. The vulnerability affects DrawIO for ownCloud prior to version 1.0.2 and ownCloud 10 prior to version 10.15.3. The CVSS 3.1 score of 8.2 (HIGH) reflects network accessibility, low attack complexity, and the requirement for user interaction from a victim—combined with cross-site impact and potential for confidentiality breach.
Business impact
A successful exploit could allow attackers to steal session tokens, modify documents, redirect users to malicious sites, or harvest credentials from users who view compromised drawings. In collaborative environments where DrawIO is used for documentation, architecture diagrams, or design sharing, a single malicious upload by a compromised or rogue account could affect multiple team members. Organizations relying on ownCloud for file management and DrawIO for visual collaboration face data integrity concerns and potential lateral movement opportunities if accounts are compromised through this vector.
Affected systems
The vulnerability impacts DrawIO for ownCloud versions prior to 1.0.2, which runs on ownCloud 10 versions prior to 10.15.3. Any deployment of DrawIO integrated with affected ownCloud 10 instances is at risk. Organizations using DrawIO standalone or with other ownCloud versions (e.g., ownCloud Infinite Scale) should verify their specific configurations against vendor advisories. The vulnerability requires the attacker to have pre-existing access to the DrawIO application, limiting the attack surface to authenticated users or compromised accounts with DrawIO permissions.
Exploitability
Exploitation requires authentication to the DrawIO application, which restricts attacks to users with valid credentials or those who have compromised an account. The attack complexity is low—an attacker simply needs to craft a malicious drawing or document containing XSS payload and save it. No special tools or techniques are required. The user interaction requirement (a victim must view the malicious content) is a practical constraint, though in collaborative environments this is highly likely. The vulnerability is not currently tracked on CISA's Known Exploited Vulnerabilities catalog, suggesting active exploitation in the wild has not been publicly disclosed, though the HIGH severity and straightforward exploitation path warrant swift patching.
Remediation
Organizations should prioritize updating DrawIO for ownCloud to version 1.0.2 or later, or upgrading ownCloud 10 to version 10.15.3 or later. If immediate patching is not feasible, consider restricting access to DrawIO to trusted users, disabling the app until patched, or isolating DrawIO instances from sensitive workflows. Input validation and output encoding improvements in the patched versions mitigate the XSS injection vector. Verify patch deployment by confirming version numbers in the ownCloud admin interface.
Patch guidance
Patch DrawIO for ownCloud by upgrading to version 1.0.2 or later. Alternatively, upgrade ownCloud 10 to version 10.15.3 or later, which includes the fixed DrawIO component. Consult the ownCloud and DrawIO official release notes to confirm patch availability for your specific deployment. Test patches in a non-production environment before rollout. After patching, consider clearing browser caches and sessions to invalidate any cookies or tokens that may have been exposed prior to remediation. Monitor ownCloud logs for signs of XSS injection attempts during the vulnerability window.
Detection guidance
Review ownCloud and DrawIO logs for unusual drawing or document creation activity, particularly by service accounts or users with unusual access patterns. Look for HTML or JavaScript payloads in stored drawing files—audit exported or backup DrawIO content for suspicious script tags or event handlers. Monitor web traffic to DrawIO endpoints for anomalous requests or response sizes that might indicate XSS payload delivery. Browser developer console errors or warnings when opening drawings may signal malicious script execution. Implement WAF rules to block common XSS patterns in DrawIO API parameters if running behind a web application firewall.
Why prioritize this
This vulnerability merits HIGH priority due to its HIGH CVSS score (8.2), the cross-site impact enabling broad user compromise, and the low barrier to exploitation for any authenticated attacker. DrawIO is often used in collaborative, multi-user environments where a single malicious document can compromise multiple stakeholders. While the KEV catalog does not yet list active exploitation, the simplicity of the attack and the sensitive nature of architectural or design diagrams (which often contain IP or infrastructure insights) justify immediate patching. Organizations with large ownCloud deployments or heavy DrawIO usage should treat this as urgent.
Risk score, explained
The CVSS 3.1 score of 8.2 (HIGH) reflects: (1) Network vector—the app is accessible over the network; (2) Low attack complexity—no special conditions required; (3) Low privileges—requires only basic user access to DrawIO; (4) User interaction required—victim must view the malicious content; (5) Scope changed—the attack can impact resources beyond the vulnerable component (other users' browsers and sessions); (6) High confidentiality impact—session tokens or data can be stolen; (7) Low integrity and availability impact—the focus is on script injection rather than data destruction. The score appropriately captures the threat to multi-user environments while acknowledging that exploitation requires prior authentication.
Frequently asked questions
Do I need DrawIO access to be exploited, or can an attacker with no ownCloud account compromise me?
An attacker needs valid authentication to DrawIO to inject the malicious payload. However, once the payload is stored, any user who views the compromised drawing—including those with read-only access—can be affected. If your ownCloud instance permits public sharing of drawings, an unauthenticated user viewing a shared drawing could potentially be exploited depending on how the sharing is configured.
How is this different from a regular (non-stored) XSS vulnerability?
Stored XSS is more dangerous because the malicious payload is saved in the application's database and affects every user who accesses the compromised content. This contrasts with reflected XSS, where the payload must be sent to the victim each time. In a collaborative tool like DrawIO, a single stored XSS attack can compromise many team members over time without requiring the attacker to repeatedly trick them into clicking a malicious link.
If I upgrade ownCloud 10 to version 10.15.3, do I also need to separately update DrawIO?
No—upgrading ownCloud 10 to version 10.15.3 or later includes the patched DrawIO component (version 1.0.2 or later). You do not need a separate DrawIO update if you take the ownCloud path. However, if you manage DrawIO separately from ownCloud, ensure you upgrade DrawIO to version 1.0.2 or later directly.
Is there a workaround if I cannot patch immediately?
Disable or restrict access to the DrawIO app until you can apply the patch. If DrawIO is critical to your workflow, limit access to trusted users and audit who has permission to create or upload drawings. Monitor for suspicious drawings or behavior. However, workarounds are temporary—patching is the only permanent fix.
This analysis is provided for informational purposes and reflects the CVE record and vendor advisories as of the publication date. Security assessments should be tailored to your specific environment, risk tolerance, and organizational policies. Verify all patch versions and compatibility with your deployment before applying updates. SEC.co does not guarantee the absence of other vulnerabilities or the effectiveness of mitigations in all scenarios. Consult official ownCloud and DrawIO security advisories for authoritative guidance. Source: NVD (public-domain), retrieved 2026-08-15. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2016-20066HIGHWordPress CP Polls 1.0.8 Persistent XSS Vulnerability
- CVE-2016-20084HIGHWordPress Appointment-Booking-Calendar Unauthenticated XSS and Privilege Escalation
- CVE-2023-33999HIGHDOM-Based XSS in WP Mail Log Plugin – Analysis & Remediation
- CVE-2023-45795HIGHXSS in Pilz PASvisu Builder Component – Patch Guidance
- CVE-2023-45796HIGHStored XSS in Pilz PASvisu & PMI Industrial Software – Remediation Guide
- CVE-2023-54351HIGHStored XSS in WordPress Sonaar Music Plugin 4.7 – Patch & Detection Guide
- CVE-2025-11262HIGHLink Whisper Free Stored XSS Vulnerability – Analysis & Patch Guidance
- CVE-2025-14773HIGHABB T-MAC Plus XSS Vulnerability – HIGH Risk Assessment