# CVE-2022-41905: wsgidav is vulnerable to Cross-Site Scripting (XSS) when directory browsing is enabled

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/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): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2022-11-11T00:00:00.000Z
- Modified: 2026-06-17T05:04:02.150Z
- Also known as: GHSA-xx6g-jj35-pxjv, PYSEC-2022-43018
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

WsgiDAV is a generic and extendable WebDAV server based on WSGI. Implementations using this library with directory browsing enabled may be susceptible to Cross Site Scripting (XSS) attacks. This issue has been patched, users can upgrade to version 4.1.0. As a workaround, set `dir_browser.enable = False` in the configuration.

(As written by CVE List.)

## Affected

- mar10 wsgidav: >= 3.0.0a1, < 4.1.0
- wsgidav (PyPI): from 3.0.0a1 before 4.1.0; before e9606ab0f42f4c1a6611bc3c52de299b0aba7726; from 3.0.0 before 4.1.0
- wsgidav_project wsgidav: from 3.0.0 before 4.1.0

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/mar10/wsgidav/security/advisories/GHSA-xx6g-jj35-pxjv> (advisory, mitigation, third-party-advisory, web)
- <https://github.com/mar10/wsgidav/commit/e9606ab0f42f4c1a6611bc3c52de299b0aba7726> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-41905> (advisory)
- <https://github.com/mar10/wsgidav> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/wsgidav/PYSEC-2022-43018.yaml> (web)

## Sources

- CVE List: [CVE-2022-41905](https://www.cve.org/CVERecord?id=CVE-2022-41905), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-xx6g-jj35-pxjv](https://github.com/advisories/GHSA-xx6g-jj35-pxjv), CC-BY-4.0, modified 2024-11-19
- NVD: [CVE-2022-41905](https://nvd.nist.gov/vuln/detail/CVE-2022-41905), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-43018](https://osv.dev/vulnerability/PYSEC-2022-43018), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2022-41905 · Whole record: https://cve.day/CVE-2022-41905.json · Rebuilt by cve.day 2026-11-25T22:58:16.426Z
