webrecorder/pywb · Security
Cross-site scripting in pywb
- GHSA ID
- GHSA-947x-pv47-pp3q
- CVE ID
- CVE-2021-39286
- Severity
- medium
- Published
- Updated
- CVSS
- 6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS v3
- 6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS v4
- 5.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Description
Webrecorder pywb before 2.6.0 allows XSS because it does not ensure that Jinja2 templates are autoescaped.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-39286 ↗
- 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://github.com/pypa/advisory-database/tree/main/vulns/pywb/PYSEC-2021-120.yaml ↗