Pallets Jinja 2.8.1/2.10.1 HTML Attribute HTML injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.2 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Pallets Jinja. It has been classified as problematic. Affected is an unknown function of the component HTML Attribute Handler. This manipulation causes HTML injection. This vulnerability is handled as CVE-2024-22195. The attack can be initiated remotely. There is not any exploit available. Upgrading the affected component is recommended.
Details
A vulnerability classified as problematic was found in Pallets Jinja. Affected by this vulnerability is an unknown code block of the component HTML Attribute Handler. The manipulation with an unknown input leads to a html injection vulnerability. The CWE definition for the vulnerability is CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. As an impact it is known to affect integrity. The summary by CVE is:
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.
The weakness was released 01/11/2024 as GHSA-h5c8-rqwp-cp95. The advisory is shared at github.com. This vulnerability is known as CVE-2024-22195 since 01/08/2024. It demands that the victim is doing some kind of user interaction. Neither technical details nor an exploit are publicly available. MITRE ATT&CK project uses the attack technique T1059.007 for this issue.
The vulnerability scanner Nessus provides a plugin with the ID 212124 (Nutanix AOS : Multiple Vulnerabilities (NXSA-AOS-7.0)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 3.1.3 eliminates this vulnerability. The upgrade is hosted for download at github.com.
The vulnerability is also documented in the databases at Tenable (212124) and CERT Bund (WID-SEC-2024-1228). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Affected
- Red Hat Enterprise Linux
- Red Hat OpenStack
- IBM MQ
- Red Hat OpenShift
Product
Vendor
Name
Version
Website
- Product: https://github.com/pallets/jinja/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.2
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.1
NVD Vector: 🔍
CNA Base Score: 5.4
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: HTML injectionCWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 212124
Nessus Name: Nutanix AOS : Multiple Vulnerabilities (NXSA-AOS-7.0)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Jinja 3.1.3
Timeline
01/08/2024 🔍01/11/2024 🔍
01/11/2024 🔍
07/27/2025 🔍
Sources
Product: github.comAdvisory: GHSA-h5c8-rqwp-cp95
Status: Confirmed
CVE: CVE-2024-22195 (🔍)
GCVE (CVE): GCVE-0-2024-22195
GCVE (VulDB): GCVE-100-250381
CERT Bund: WID-SEC-2024-1228 - Red Hat OpenStack: Mehrere Schwachstellen
Entry
Created: 01/11/2024 08:09Updated: 07/27/2025 06:57
Changes: 01/11/2024 08:09 (51), 01/30/2024 09:10 (11), 12/06/2024 17:23 (17), 04/20/2025 20:35 (3), 07/27/2025 06:57 (7)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.