CVE-2021-3694
8.2high
Cross-site Scripting (XSS) - Reflected in ledgersmb/ledgersmb
- Severity
- 8.2high CVSS:3.1 by @huntrdev
- Exploit likelihood
- 2.51% (higher than 85% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntrdev
Description
LedgerSMB does not sufficiently HTML-encode error messages sent to the browser. By sending a specially crafted URL to an authenticated user, this flaw can be abused for remote code execution and information disclosure.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ledgersmb ledgersmb/ledgersmb | from unspecified before 1.8.18 Not affected: 1.7.33 | CVE List |
| ledgersmb ledgersmb | from 1.1.0 up to 1.1.12, from 1.2.0 up to 1.2.26, from 1.3.0 up to 1.3.47, from 1.4.0 up to 1.4.42, from 1.5.0 up to 1.5.30, from 1.6.0 up to 1.6.33, from 1.7.0 up to 1.7.32, from 1.8.0 up to 1.8.17 | NVD |
| debian debian_linux | 10.0, 11.0 | NVD |
All scores
| @huntrdev | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| NVD | 9.6critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
LedgerSMB does not sufficiently HTML-encode error messages sent to the browser. By sending a specially crafted URL to an authenticated user, this flaw can be abused for remote code execution and information disclosure.
NVD (es)
LedgerSMB, no codifica suficientemente los mensajes de error enviados al navegador. Mediante el envío de una URL especialmente diseñada a un usuario autenticado, este fallo puede ser abusado para una ejecución de código remota y una divulgación de información.
References
| https://huntr.dev/bounties/ef7f4cf7-3a81-4516-b261-f5b6ac21430c | third-party-advisory | |
| https://github.com/ledgersmb/ledgersmb/commit/98fa476d46a4a7e5e9492ed69b4fa190be5547fc | patch, third-party-advisory | |
| https://ledgersmb.org/cve-2021-3694-cross-site-scripting | vendor-advisory | |
| https://www.debian.org/security/2021/dsa-4962 | third-party-advisory, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3694 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-3694 changed 2026-06-17 | Public domain |