CVE-2021-39286Webrecorder Pywb
Medium 6.1 No auth needed
Follow: this CVE · Webrecorder · Webrecorder Pywb We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 49
- Auth required
- No
- Published
- Aug 18, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
Webrecorder pywb before 2.6.0 allows XSS because it does not ensure that Jinja2 templates are autoescaped.
What to do
- Apply the vendor's security update for Pywb.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pywb |
< 2.6.0 |
2.6.0 |
pip install "pywb>=2.6.0" |
| PyPI | pywb |
< 2.6.0 |
2.6.0 |
pip install "pywb>=2.6.0" |
Per OSV / GitHub Advisories (GHSA-947x-pv47-pp3q, PYSEC-2021-120). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| webrecorder | pywb | < 2.6.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory