Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-22195— Jinja vulnerable to Cross-Site Scripting (XSS)

Quick assessment

Affected
pallets jinja
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Pallets Jinja是一款使用Python语言编写的模板引擎。 Jinja 3.1.3之前版本存在安全漏洞,该漏洞源于存在跨站脚本(XSS)漏洞。

CVSS 5.4 · Medium EPSS 0.89% · P58

Possible ATT&CK Techniques 1 AI

T1189 · Drive-by Compromise
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-22195

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Jinja vulnerable to Cross-Site Scripting (XSS)
Source: CVE Program / CVE List V5
Vulnerability Description
Jinja is an extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax. It is possible to inject arbitrary HTML attributes into the rendered HTML template, potentially leading to Cross-Site Scripting (XSS). The Jinja `xmlattr` filter can be abused to inject arbitrary HTML attribute keys and values, bypassing the auto escaping mechanism and potentially leading to XSS. It may also be possible to bypass attribute validation checks if they are blacklist-based.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Jinja 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Pallets Jinja是一款使用Python语言编写的模板引擎。 Jinja 3.1.3之前版本存在安全漏洞,该漏洞源于存在跨站脚本(XSS)漏洞。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
pallets jinja < 3.1.3 -

II. Public POCs for CVE-2024-22195

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-22195

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-22195 (1)

Mailing List Discussions for CVE-2024-22195 (4)

Other References for CVE-2024-22195 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-22195

No comments yet


Leave a comment