# CVE-2023-5689: PYSEC-2023-216 - Cross-site Scripting (XSS) - DOM in GitHub repository modoboa/modoboa prior to 2.2.2.

Source: https://junglewise.ai/threats/cve-2023-5689-modoboa-cross-site-scripting-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-10-20  
License: CC BY 4.0 with a link back

CVE-2023-5689 · Severity: low · CVSS 3.1 · Published 2023-10-20

Cross-site Scripting (XSS) - DOM in GitHub repository modoboa/modoboa prior to 2.2.2.

Technologies: [modoboa (PyPI)](https://junglewise.ai/threats/technologies/pypi-modoboa). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

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

**How severe is CVE-2023-5689?** Low severity, with a CVSS score of 3.1, published 20 October 2023.

**Which products and versions are affected?** modoboa (PyPI) ECOSYSTEM:introduced=0,fixed=2.2.2, GIT:introduced=0,fixed=d33d3cd2d11dbfebd8162c46e2c2a9873919a967|ECOSYSTEM:introduced=0,fixed=2.2.2.

**Is there a fix for CVE-2023-5689?** Yes. modoboa (PyPI): upgrade to 2.2.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-5689?** Check whether you run modoboa (PyPI) 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.

## How to fix

- modoboa (PyPI): upgrade to 2.2.2 or later

  ```sh
  pip install "modoboa>=2.2.2"
  ```


## Affected products

- modoboa (PyPI) ECOSYSTEM:introduced=0,fixed=2.2.2, GIT:introduced=0,fixed=d33d3cd2d11dbfebd8162c46e2c2a9873919a967|ECOSYSTEM:introduced=0,fixed=2.2.2

## Identifiers

- CVE-2023-5689
- GHSA-9wj3-cfq8-wpvj
- PYSEC-2023-216

## Related threats

- [PYSEC-2026-849 - Improper Restriction of Excessive Authentication Attempts in modoboa](https://junglewise.ai/threats/cve-2023-0860-improper-restriction-of-excessive-authentication-attempts-in)
- [Modoboa has OS Command Injection](https://junglewise.ai/threats/cve-2026-27602-modoboa-has-os-command-injection)
- [PYSEC-2023-215 - Cross-site Scripting (XSS) - DOM in GitHub repository modoboa/modoboa prior to 2.2.2.](https://junglewise.ai/threats/cve-2023-5688-modoboa-cross-site-scripting-vulnerability)
- [PYSEC-2023-217 - Cross-Site Request Forgery (CSRF) in GitHub repository modoboa/modoboa prior to 2.2.2.](https://junglewise.ai/threats/cve-2023-5690-modoboa-cross-site-request-forgery-vulnerability)
- [PYSEC-2023-36 - Cross-Site Request Forgery (CSRF) in GitHub repository modoboa/modoboa prior to 2.1.0.](https://junglewise.ai/threats/cve-2023-2228-modoboa-vulnerable-to-cross-site-request-forgery)
