Skip to main content
MEDIUM

CVE-2020-28493

CVSS v3

5.3

MEDIUM

EPSS Score

3.5 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for jinja2.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • jinja2PyPIall versions · fixed in 2.11.3
  • babelAlmaLinux:8all versions · fixed in 2.5.1-10.module_el8.6.0+2781+fed64c13and 1 other package
  • python-nose-docsAlmaLinux:8all versions · fixed in 1.3.7-31.module_el8.5.0+2569+5c5719bc
  • python-sqlalchemy-docAlmaLinux:8all versions · fixed in 1.3.2-2.module_el8.5.0+2569+5c5719bc
  • python2-attrsAlmaLinux:8all versions · fixed in 17.4.0-10.module_el8.6.0+2781+fed64c13
  • python2-backportsAlmaLinux:8all versions · fixed in 1.0-16.module_el8.6.0+2781+fed64c13
  • python2-backports-ssl_match_hostnameAlmaLinux:8all versions · fixed in 3.5.0.1-12.module_el8.6.0+2781+fed64c13
  • python2-chardetAlmaLinux:8all versions · fixed in 3.0.4-10.module_el8.6.0+2781+fed64c13

69 more package ranges on OSV.dev

Vendor advisories

  • CVE-2020-28493 Red Hat Product Security711 products fixed · 12 known affected

    python-jinja2: ReDoS vulnerability in the urlize filter

    python-jinja2 as a component of Red Hat Ceph Storage 2 · python-jinja2.src as a component of Red Hat Ceph Storage 2 · python-jinja2.src as a component of Red Hat Ceph Storage 3

  • RHSA-2021:4161 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: python-jinja2 security update

  • RHSA-2021:4162 Red Hat Product Security239 products fixed

    Red Hat Security Advisory: python38:3.8 and python38-devel:3.8 security update

  • RHSA-2021:4151 Red Hat Product Security264 products fixed

    Red Hat Security Advisory: python27:2.7 security update

  • RHSA-2021:3252 Red Hat Product Security80 products fixed

    Red Hat Security Advisory: python27 security update

  • RHSA-2021:3254 Red Hat Product Security126 products fixed

    Red Hat Security Advisory: rh-python38 security, bug fix, and enhancement update

Full record on NVD

Description

This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDoS vulnerability is mainly due to the `_punctuation_re regex` operator and its use of multiple wildcards. The last wildcard is the most exploitable as it searches for trailing punctuation. This issue can be mitigated by Markdown to format user content instead of the urlize filter, or by implementing request timeouts and limiting process memory.

Technical details

Published
2021-02-01

Frequently asked questions

What is CVE-2020-28493?

This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDoS vulnerability is mainly due to the `_punctuation_re regex` operator and its use of multiple wildcards. The last wildcard is the most exploitable as it searches for trailing punctuation. This issue can be mitigated by Markdown to format user content instead of the urlize filter, or by implementing request timeouts and limiting process memory.

Is CVE-2020-28493 actively exploited?

Active exploitation of CVE-2020-28493 has not been confirmed. Its EPSS score was 3.5% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-28493?

CVE-2020-28493 has a CVSS v3 base score of 5.3 (MEDIUM severity).

Running jinja2? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month