CVE-2024-22195
Publication date 11 January 2024
Last updated 24 July 2024
Ubuntu priority
Cvss 3 Severity Score
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
jinja2 | 24.10 oracular |
Fixed 3.1.2-1ubuntu1
|
24.04 LTS noble |
Fixed 3.1.2-1ubuntu1
|
|
22.04 LTS jammy |
Fixed 3.0.3-1ubuntu0.1
|
|
20.04 LTS focal |
Fixed 2.10.1-2ubuntu0.2
|
|
18.04 LTS bionic |
Fixed 2.10-1ubuntu0.18.04.1+esm1
|
|
16.04 LTS xenial |
Fixed 2.8-1ubuntu0.1+esm2
|
|
14.04 LTS trusty |
Fixed 2.7.2-2ubuntu0.1~esm2
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu ProSeverity score breakdown
Parameter | Value |
---|---|
Base score | 6.1 · Medium |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Changed |
Confidentiality | Low |
Integrity impact | Low |
Availability impact | None |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
References
Related Ubuntu Security Notices (USN)
- USN-6599-1
- Jinja2 vulnerabilities
- 25 January 2024