Cross-site scripting in pywb
Webrecorder pywb before 2.6.0 allows XSS because it does not ensure that Jinja2 templates are autoescaped.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | pywb | < 2.6.0 | 2.6.0 |
References
- https://github.com/webrecorder/pywb/commit/f7bd84cdacdd665ff73ae8d09a202f60be2ebae9
- https://github.com/webrecorder/pywb/compare/v-2.5.0...v-2.6.0
- https://github.com/advisories/GHSA-947x-pv47-pp3q
- https://nvd.nist.gov/vuln/detail/CVE-2021-39286
- https://github.com/pypa/advisory-database/tree/main/vulns/pywb/PYSEC-2021-120.yaml
- https://github.com/webrecorder/pywb
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Python (PyPI)
- Package
pywb- Disclosed
- 18.08.2021
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2021-120 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-947x-pv47-pp3q - CC BY 4.0
Vulnerability history: pywb
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.