ALPINE-CVE-2024-22195
Dashboard / Vulnerabilities / ALPINE-CVE-2024-22195
Summary:
Details: 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.
Affected packages
Package
Name: py3-jinja2
Purl: pkg:apk/alpine/py3-jinja2?arch=source
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -3.1.4-r0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
