CVE-2022-41905 json
wsgidav is vulnerable to Cross-Site Scripting (XSS) when directory browsing is enabled
published 2022-11-11 3 y ago modified 2026-06-17 4 mo ago also GHSA-xx6g-jj35-pxjv , PYSEC-2022-43018 , EUVD-2022-0366
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 8.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | wsgidav | >=3.0.0a1, <4.1.0 >=3.0.0, <4.1.0 |
4.1.0 |
Affected products
- mar10 wsgidav
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/mar10/wsgidav/commit/e9606ab0f42f4c1a6611bc3c52de299b0aba7726
web, patch, third-party-advisory
-
github.com
/mar10/wsgidav/security/advisories/GHSA-xx6g-jj35-pxjv
web, mitigation, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-41905
advisory
-
github.com
/mar10/wsgidav
package
-
github.com
/pypa/advisory-database/tree/main/vulns/wsgidav/PYSEC-2022-43018.yaml
web
Sources
- CVE List CVE-2022-41905
- GitHub Advisory GHSA-xx6g-jj35-pxjv
- NVD CVE-2022-41905
- OSV PYSEC-2022-43018
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.