Skip to main content
Vulnerability Database/CVE-2025-11946

CVE-2025-11946: LogicalDOC Community Edition XSS Vulnerability

CVE-2025-11946 is a cross-site scripting flaw in LogicalDOC Community Edition that enables attackers to inject malicious scripts through contact form fields. This article covers the technical details, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-11946 Overview

CVE-2025-11946 is a cross-site scripting (XSS) vulnerability in LogicalDOC Community Edition through version 9.2.1. The flaw resides in the Add Contact Page component accessible via /frontend.jsp. Authenticated attackers can inject malicious script payloads through the First Name, Last Name, Company, Address, Phone, or Mobile fields. The injected script executes in the browser context of any user viewing the stored contact data. A public proof-of-concept has been released. The vendor did not respond to coordinated disclosure attempts, and no patch is currently available.

Critical Impact

Authenticated attackers can execute arbitrary JavaScript in victim browsers, enabling session theft, credential harvesting, and unauthorized actions within the LogicalDOC application context.

Affected Products

  • LogicalDOC Community Edition versions up to and including 9.2.1
  • Component: Add Contact Page (/frontend.jsp)
  • Deployments exposing the contact management interface to untrusted users

Discovery Timeline

  • 2025-10-19 - CVE-2025-11946 published to the National Vulnerability Database (NVD)
  • 2026-10-08 - Last updated in NVD database

Technical Details for CVE-2025-11946

Vulnerability Analysis

The vulnerability is a stored cross-site scripting (XSS) flaw classified under [CWE-79]. LogicalDOC's Add Contact Page accepts user-supplied input through multiple form fields without applying proper output encoding or input sanitization. When an attacker submits JavaScript payloads in the First Name, Last Name, Company, Address, Phone, or Mobile parameters, the application stores the raw input. The payload later executes when any user, including administrators, renders the affected contact view in their browser.

Successful exploitation allows an attacker to run arbitrary JavaScript in the context of the victim's authenticated session. This can lead to session cookie theft, cross-site request forgery, phishing overlays, and unauthorized operations against the LogicalDOC document management system.

Root Cause

The root cause is missing input validation and output encoding on contact form parameters processed by /frontend.jsp. The application reflects stored field values into HTML responses without neutralizing control characters such as <, >, and ". No Content Security Policy (CSP) is enforced to limit script execution origins.

Attack Vector

The attack requires network access to the LogicalDOC web interface and low-privileged authenticated access to create contacts. User interaction is required because a victim must view the malicious contact record. Remote exploitation is possible against any LogicalDOC Community Edition instance up to 9.2.1 reachable over the network.

A public proof-of-concept is available via a GitHub Gist PoC Repository with reproduction steps demonstrating payload injection through the contact fields.

Detection Methods for CVE-2025-11946

Indicators of Compromise

  • Contact records containing HTML tags such as <script>, <img onerror=>, or <svg onload=> in firstName, lastName, company, address, phone, or mobile fields
  • POST requests to /frontend.jsp carrying encoded or raw JavaScript payloads in contact parameters
  • Outbound requests from authenticated LogicalDOC sessions to unknown attacker-controlled domains carrying session tokens or form data

Detection Strategies

  • Inspect LogicalDOC application and web server logs for POST requests to /frontend.jsp containing suspicious characters or script keywords in contact parameters
  • Query the LogicalDOC contact database for stored field values containing HTML or JavaScript syntax
  • Deploy web application firewall (WAF) rules that flag XSS payload patterns submitted to contact creation endpoints

Monitoring Recommendations

  • Alert on anomalous JavaScript execution or DOM modifications originating from the LogicalDOC frontend
  • Monitor authenticated user sessions for unexpected cookie exfiltration or token reuse from new IP addresses
  • Correlate contact creation events with subsequent administrator logins that render the same records

How to Mitigate CVE-2025-11946

Immediate Actions Required

  • Restrict access to the LogicalDOC Community Edition interface to trusted networks via VPN or IP allowlisting
  • Audit existing contact records for stored script content and purge any records with embedded HTML or JavaScript
  • Review account provisioning to limit contact creation privileges to vetted users only

Patch Information

No official patch is available at the time of publication. The vendor did not respond to coordinated disclosure attempts. Track the VulDB entry #329026 for updates and monitor the LogicalDOC project for a fixed release beyond 9.2.1.

Workarounds

  • Deploy a reverse proxy or WAF with rules blocking HTML and JavaScript syntax in POST parameters sent to /frontend.jsp
  • Enforce a strict Content Security Policy (CSP) header at the proxy layer to block inline script execution
  • Disable or hide the contact creation workflow for non-essential user roles until a vendor fix is released
bash
# Example NGINX rule to block script tags in contact form parameters
location /frontend.jsp {
    if ($request_body ~* "(<script|onerror=|onload=|javascript:)") {
        return 403;
    }
    add_header Content-Security-Policy "default-src 'self'; script-src 'self'";
    proxy_pass http://logicaldoc_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.