DEBIAN-CVE-2024-22195

Source
https://security-tracker.debian.org/tracker/CVE-2024-22195
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-22195.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2024-22195
Upstream
Published
2024-01-11T03:15:11Z
Modified
2025-09-19T07:33:48.586597Z
Summary
[none]
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.

References

Affected packages

Debian:11 / jinja2

Package

Name
jinja2
Purl
pkg:deb/debian/jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.11.3-1+deb11u1

Affected versions

2.*

2.11.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / jinja2

Package

Name
jinja2
Purl
pkg:deb/debian/jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.2-1+deb12u1

Affected versions

3.*

3.1.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / jinja2

Package

Name
jinja2
Purl
pkg:deb/debian/jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / jinja2

Package

Name
jinja2
Purl
pkg:deb/debian/jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}