# CVE-2025-45868: LogicalDOC Enterprise blind SQL injection in ComparisonServlet

Source: https://junglewise.ai/threats/cve-2025-45868-logicaldoc-enterprise-blind-sql-injection-in-comparisonservlet  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-16. Updated: 2026-07-16  
License: CC BY 4.0 with a link back

CVE-2025-45868 · Severity: info · CVSS 6.5 · Published 2026-07-16

LogicalDOC Enterprise, a document management system used by organizations to store and organize digital files, is affected by a security vulnerability in its document comparison feature. An authorized user can send specially crafted requests to the system to trick the database into revealing sensitive information character by character. This could allow an attacker to extract confidential data such as usernames, email addresses, or password hashes, potentially leading to a broader breach of the system.

Technologies: [LogicalDOC Enterprise](https://junglewise.ai/threats/technologies/logicaldoc-enterprise). Vendors: [LogicalDOC](https://junglewise.ai/threats/vendors/logicaldoc).

## Quick answers

**Is CVE-2025-45868 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-45868 being exploited in the wild.

**How severe is CVE-2025-45868?** Informational severity, with a CVSS score of 6.5, published 16 July 2026.

**Which products and versions are affected?** LogicalDOC Enterprise <= 9.1.1.

**Is there a fix for CVE-2025-45868?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2025-45868 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2025-45868?** Check whether you run LogicalDOC Enterprise at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A boolean-based blind SQL injection vulnerability exists in the ComparisonServlet component of LogicalDOC Enterprise (<= 9.1.1) via the /compare endpoint. The application fails to properly sanitize or parameterize the 'fileVersion1' and 'fileVersion2' parameters before incorporating them into a Hibernate Query Language (HQL) statement. Because the HQL is translated into SQL, an authenticated attacker can inject malicious expressions. The vulnerability is exploitable via a boolean side channel: valid queries return a generated PDF comparison, while failed conditions return an error, allowing for the exfiltration of database contents such as password hashes and user records. The vendor has indicated a fix will be available in version 9.2.

## Affected products

- LogicalDOC LogicalDOC Enterprise <= 9.1.1

## Timeline

- 2026-07-16: disclosed: Initial disclosure of CVE-2025-45868
- 2026-07-16: advisory: NVD publication date

## References

- [https://github.com/netero1010/Vulnerability-Disclosure/blob/main/CVE-2025-45868/README.md](https://github.com/netero1010/Vulnerability-Disclosure/blob/main/CVE-2025-45868/README.md)
- [https://www.logicaldoc.com/](https://www.logicaldoc.com/)

## Related threats

- [LogicalDOC Enterprise blind SQL injection in WorkflowsDataServlet](https://junglewise.ai/threats/cve-2025-45871-logicaldoc-enterprise-up-to-and-for-9-1-1-is-vulnerable-to-blind)
- [LogicalDOC Enterprise Local File Inclusion in OnlyOfficeEditor](https://junglewise.ai/threats/cve-2025-45870-logicaldoc-enterprise-local-file-inclusion-in-onlyofficeeditor)
- [LogicalDOC Enterprise SSRF in ShareFileCallback servlet](https://junglewise.ai/threats/cve-2025-45869-logicaldoc-enterprise-ssrf-in-sharefilecallback-servlet)
