cve.bz

CVE-2020-28493

5.3 mediumEPSS 3.6%

Medium (5.3). EPSS 3.6% chance of exploitation in the next 30 days. Fixed in jinja2 2.11.3.

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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
3.6% chance of exploitation in the next 30 days; higher than 89% of CVEs (scores of 2026-10-31)
CWE
CWE-400
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g3rq-g295-4j3mPyPIjinja2<2.11.32.11.3
PYSEC-2021-66PyPIjinja2<2.11.32.11.3

References

Check your stackJSON