An open index of dependabot pull requests across open source projects.

Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter

RSS Feed MODERATE
GHSA-h75v-3vvj-5mfj CVE-2024-34064
Description:

The xmlattr filter in affected versions of Jinja accepts keys containing non-attribute characters. XML/HTML attributes cannot contain spaces, /, >, or =, as each would then be interpreted as starting a separate attribute. If an application accepts keys (as opposed to only values) as user input, and renders these in pages that other users see as well, an attacker could use this to inject other attributes and perform XSS. The fix for the previous GHSA-h5c8-rqwp-cp95 CVE-2024-22195 only addressed spaces but not other characters.

Accepting keys as user input is now explicitly considered an unintended use case of the xmlattr filter, and code that does so without otherwise validating the input should be flagged as insecure, regardless of Jinja version. Accepting values as user input continues to be safe.

Affected Packages
Ecosystem Package Vulnerable Versions Patched Version
pypi Jinja2 < 3.1.4
3.1.4
Related Dependabot Pull Requests
Bump the pip group across 1 directory with 7 updates
Open 5 days ago
jaingautam262-lang/enable-automatic-ui-machine-translation-and-implement-simplified-gst-automation #5
pip:jinja2 pip:werkzeug +5 more
jaingautam262-lang
Bump the pip group across 1 directory with 6 updates
Open 6 days ago
black-da-bull/llm-workflow-engine #1
pip:jinja2 pip:certifi +4 more
black-da-bull
Bump the routine-updates group across 1 directory with 14 updates
Open 14 days ago
DanielCow96/ghas-pipeline-lab #7
pip:setuptools pip:jinja2 +12 more
DanielCow96
chore(deps): bump the pip group across 4 directories with 2 updates
Closed about 1 month ago
SherfeyInv/clir #922
pip:django pip:jinja2
SherfeyInv
Bump the pip group across 1 directory with 5 updates
Closed about 1 month ago
PlatziDev/Zappa #5
pip:django pip:jinja2 +3 more
PlatziDev
chore(deps): bump the pip group across 3 directories with 6 updates
Closed 3 months ago
jaigouk/white-hacker #2
pip:jinja2 pip:flask +3 more
jaigouk
Bump the pip group across 1 directory with 19 updates
Open 4 months ago
GlacierEQ/uv #15
pip:setuptools pip:jinja2 +17 more
GlacierEQ
build(deps): Bump jinja2 from 3.1.2 to 3.1.6
Open 4 months ago
ZPascal/hana-injector #30
pip:jinja2
ZPascal
Bump the pip group across 1 directory with 11 updates
Open 4 months ago
thaliamontreux/OvenSpace #1
pip:gunicorn pip:jinja2 +9 more
thaliamontreux
Bump the pip group across 1 directory with 5 updates
Open 4 months ago
v4run75/SneakyBox #1
pip:jinja2 pip:werkzeug +3 more
v4run75
Bump the pip group across 1 directory with 10 updates
Open 4 months ago
adrianwedd/Openai-Dialogflow-CX-ES-Python #1
pip:jinja2 pip:werkzeug +8 more
adrianwedd
Bump the pip group across 4 directories with 10 updates
Closed 4 months ago
firetop0011/pytorch #4
pip:jinja2 pip:protobuf +3 more
firetop0011
chore(deps): bump the pip group across 2 directories with 7 updates
Closed 4 months ago
pilotwaffle/TORQ-CONSOLE #167
pip:django pip:jinja2 +5 more
pilotwaffle
Bump the pip group across 1 directory with 16 updates
Closed 4 months ago
Attupatil/tickermeCRYPT #1
pip:setuptools pip:jinja2 +14 more
Attupatil
build(deps): bump jinja2 from 3.0.3 to 3.1.6 in /configs
Closed 5 months ago
blueszhangsh/envoy #540
pip:jinja2
blueszhangsh
chore(deps): bump the python-minor-patch group across 1 directory with 43 updates
Closed 5 months ago
wandile0157/smartdoc-ai-backend #11
pip:regex pip:jinja2 +41 more
wandile0157
Bump jinja2 from 2.11.2 to 3.1.6
Open 5 months ago
cosmicc/rf_info #31
pip:jinja2
cosmicc
build(deps): bump the python-minor-patch group across 1 directory with 43 updates
Closed 5 months ago
wandile0157/smartdoc-ai-backend #4
pip:regex pip:jinja2 +41 more
wandile0157
Bump the pip group across 4 directories with 6 updates
Closed 5 months ago
github/codeql-coding-standards #1109
pip:jinja2 pip:certifi +4 more
github
chore(deps): bump jinja2 from 3.1.3 to 3.1.6
Closed 5 months ago
weby-homelab/flash-monitor-kyiv #1
pip:jinja2
weby-homelab
Bump the pip group across 1 directory with 13 updates
Open 5 months ago
RantoBilly/Movie-Recommendation-System #1
pip:gunicorn pip:h11 +11 more
RantoBilly
Bump the all-in-one group across 1 directory with 5 updates
Open 5 months ago
eclipse-score/inc_someip_gateway #75
bazel:aspect_rules_lint bazel:rules_rust +3 more
eclipse-score
Bump the all-in-one group across 1 directory with 4 updates
Open 6 months ago
eclipse-score/inc_someip_gateway #72
bazel:aspect_rules_lint bazel:rules_rust +2 more
eclipse-score
Bump jinja2 from 3.0.1 to 3.1.6 in /docs
Closed 6 months ago
tylercrompton/streams #32
pip:jinja2
tylercrompton
Bump the pip group across 3 directories with 11 updates
Open 6 months ago
bluluvinn/alpha-omega #1
pip:django pip:jinja2 +9 more
bluluvinn
Bump the llvm-docs-requirements group across 1 directory with 30 updates
Closed 6 months ago
openeuler-mirror/llvm-project #9
pip:jinja2 pip:charset-normalizer +28 more
openeuler-mirror
Bump the llvm-docs-requirements group in /llvm/docs with 29 updates
Closed 6 months ago
org-rex/llvm-project-6Mfiles_Restore_at_2026-03-28_10-35-15_UTC #2
pip:jinja2 pip:charset-normalizer +27 more
org-rex
chore(deps): bump jinja2 from 2.10 to 3.1.6 in /module_b
Closed 6 months ago
Ngkaokis/dependabot-test #6
pip:jinja2
Ngkaokis
Bump the pip group across 1 directory with 9 updates
Closed 6 months ago
aws/deep-learning-containers #5841
pip:jinja2 pip:werkzeug +7 more
aws
Bump the pip group across 2 directories with 13 updates
Closed 6 months ago
c6ai/restart-inc-ambiguities #2
pip:torch pip:jinja2 +11 more
c6ai
Bump jinja2 from 2.10 to 3.1.6 in /app/services/auth
Open 6 months ago
Mikeyogada/SCA_labs #15
pip:jinja2
Mikeyogada
chore(deps): bump the pip group across 2 directories with 13 updates
Closed 6 months ago
NO-HUMAN-MASTERS-AI-FAMILY/supabase #43
pip:jinja2 pip:certifi +11 more
NO-HUMAN-MASTERS-AI-FAMILY
Bump jinja2 from 2.11.3 to 3.1.6
Closed 6 months ago
adzerk/purposefully-vulnerable-repo #2
pip:jinja2
adzerk
Bump the pip group across 1 directory with 12 updates
Closed 6 months ago
SherfeyInv/pfl-research #5
pip:setuptools pip:jinja2 +10 more
SherfeyInv
Bump jinja2 from 3.1.2 to 3.1.6 in /code/cowsay-python-6.1
Closed 6 months ago
mikasa1712/in250-black-market-gmbh #11
pip:jinja2
mikasa1712
build(deps): Bump jinja2 from 3.1.2 to 3.1.6 in /code/cowsay-python-6.1
Closed 6 months ago
JNGNGY/in250-black-market-gmbh #9
pip:jinja2
JNGNGY
chore(deps): bump the pip group across 3 directories with 7 updates
Open 6 months ago
julianwenger1/in250-black-market-gmbh #13
pip:pdoc pip:jinja2 +5 more
julianwenger1
Bump jinja2 from 3.1.3 to 3.1.6
Closed 6 months ago
t-amitai/tamir-tech #29
pip:jinja2
t-amitai
Chore(deps): Bump the pip group across 1 directory with 6 updates
Open 7 months ago
patrik-fredon/homepage #2
pip:jinja2 pip:certifi +4 more
patrik-fredon
build(deps): bump jinja2 from 3.1.2 to 3.1.6 in /sources/code/cowsay-python-6.1
Open 7 months ago
Noga1234567/in250-black-market-gmbh #12
pip:jinja2
Noga1234567
chore(deps): bump jinja2 from 3.1.3 to 3.1.6
Closed 7 months ago
Jeevan-HM/Interactive-Portfolio #12
pip:jinja2
Jeevan-HM
Bump nlohmann_json from 3.11.3 to 3.12.0.bcr.1
Open 7 months ago
RunEdgeAI/agents-cpp-sdk #6
bazel:nlohmann_json
RunEdgeAI
chore(deps): bump the pip group across 1 directory with 3 updates
Closed 7 months ago
awallgren/herd-demo-71b39295 #14
pip:jinja2 pip:flask +1 more
awallgren
Bump jinja2 from 2.10.1 to 3.1.6 in /scripts
Open 7 months ago
Dustin4444/website-3 #43
pip:jinja2
Dustin4444
Bump the pip group across 1 directory with 3 updates
Closed 7 months ago
indietonne2/fiftyone #2
pip:jinja2 pip:awscli +1 more
indietonne2
Bump the pip group across 1 directory with 3 updates
Closed 7 months ago
gali-chen/MYD-LF25X-TFA #5
pip:jinja2 pip:zipp +1 more
gali-chen
Bump the pip group across 2 directories with 2 updates
Closed 7 months ago
seanclancy/nutcase #1
pip:jinja2 pip:werkzeug
seanclancy
Bump the pip group across 2 directories with 15 updates
Open 7 months ago
hashim21223445/igel #22
pip:h11 pip:jinja2 +11 more
hashim21223445
build(deps): bump the pip group across 3 directories with 6 updates
Closed 7 months ago
sumonst21/envoy #17
pip:jinja2 pip:werkzeug +4 more
sumonst21
Bump the pip group across 6 directories with 11 updates
Closed 7 months ago
hove-io/navitia #4516
pip:jinja2 pip:werkzeug +5 more
hove-io