# CVE-2021-3694: Cross-site Scripting (XSS) - Reflected in ledgersmb/ledgersmb

- Severity: High 8.2 (CVSS:3.1, scored by @huntrdev) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.51%, higher than 85% of CVEs (2026-12-01)
- Published: 2021-08-23T12:41:58.000Z
- Modified: 2026-06-17T04:05:34.543Z
- Weaknesses: CWE-79
- 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.

(As written by CVE List.)

## Affected

- ledgersmb ledgersmb/ledgersmb: from unspecified before 1.8.18 (not affected: 1.7.33)
- 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
- debian debian_linux: 10.0; 11.0

## Every score

- @huntrdev: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- NVD: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## 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

- CVE List: [CVE-2021-3694](https://www.cve.org/CVERecord?id=CVE-2021-3694), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3694](https://nvd.nist.gov/vuln/detail/CVE-2021-3694), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3694 · Whole record: https://cve.day/CVE-2021-3694.json · Rebuilt by cve.day 2026-11-25T22:58:03.364Z
