Skip to content

Fix documentIdentifier and TV_FILTER_OPERATORS sql injections - #2491

Merged
Seiger merged 2 commits into
evolution-cms:3.5.xfrom
elcreator:fix-key-sql-injections
Oct 7, 2026
Merged

Seiger merged 2 commits into
evolution-cms:3.5.xfrom
elcreator:fix-key-sql-injections

Conversation

@elcreator

Copy link
Copy Markdown

No description provided.

elcreator and others added 2 commits October 7, 2026 22:58
…ent id in getTemplateVars

The operator reaches raw SQL for numeric casts, so match it against an exact
list instead of a word pattern (tv:price:OR:1:UNSIGNED used to pass). The
document id and template id in getTemplateVars come from the fetched record
as integers instead of the caller's value.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Seiger
Seiger merged commit 42633ad into evolution-cms:3.5.x Oct 7, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants