# CVE-2021-3693: Cross-site Scripting (XSS) - DOM in ledgersmb/ledgersmb

- Severity: High 8.8 (CVSS:3.1, scored by @huntrdev) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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): 3.17%, higher than 88% of CVEs (2026-12-01)
- Published: 2021-08-23T12:41:57.000Z
- Modified: 2026-06-17T04:05:34.427Z
- Weaknesses: CWE-79
- Assigned by: @huntrdev

## Description

LedgerSMB does not check the origin of HTML fragments merged into the browser's DOM. 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.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.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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/daf1384d-648a-43fd-9b35-5c37d8ead667> (third-party-advisory)
- <https://ledgersmb.org/cve-2021-3693-cross-site-scripting> (patch, vendor-advisory)
- <https://www.debian.org/security/2021/dsa-4962> (third-party-advisory, vendor-advisory)

## Sources

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

---

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