{"cve":"CVE-2022-39348","nvd":{"published":"2022-10-26T20:15:10.580","modified":"2026-06-17T04:58:11.477","status":"Modified","description":"Twisted is an event-based framework for internet applications. Started with version 0.9.4, when the host header does not match a configured host `twisted.web.vhost.NameVirtualHost` will return a `NoResource` resource which renders the Host header unescaped into the 404 response allowing HTML and script injection. In practice this should be very difficult to exploit as being able to modify the Host header of a normal HTTP request implies that one is already in a privileged position. This issue was fixed in version 22.10.0rc1. There are no known workarounds.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79","CWE-80"],"references":["https://github.com/twisted/twisted/commit/f2f5e81c03f14e253e85fe457e646130780db40b","https://github.com/twisted/twisted/commit/f49041bb67792506d85aeda9cf6157e92f8048f4","https://github.com/twisted/twisted/security/advisories/GHSA-vg46-2rrj-3647","https://lists.debian.org/debian-lts-announce/2022/11/msg00038.html","https://security.gentoo.org/glsa/202301-02"],"products":["debian:debian_linux","twisted:twisted"],"source":"nvd","synced_at":"2026-10-19T21:37:08.729216836+00:00"},"epss":{"cve":"CVE-2022-39348","score":0.01586,"percentile":0.75594,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-vg46-2rrj-3647","url":"https://osv.dev/vulnerability/GHSA-vg46-2rrj-3647","summary":"Twisted vulnerable to NameVirtualHost Host header injection","modified":"2026-07-07T11:56:35.965842685Z","packages":[{"ecosystem":"PyPI","name":"twisted","purl":"pkg:pypi/twisted","ranges":[">=0.9.4 <22.10.0rc1"],"fixed":["22.10.0rc1"]}]},{"id":"PYSEC-2026-1055","url":"https://osv.dev/vulnerability/PYSEC-2026-1055","summary":"Twisted vulnerable to NameVirtualHost Host header injection","modified":"2026-07-07T11:46:02.102931426Z","packages":[{"ecosystem":"PyPI","name":"twisted","purl":"pkg:pypi/twisted","ranges":[">=0.9.4 <22.10.0rc1"],"fixed":["22.10.0rc1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}