create_tag function is not escaped (security issue) #1400

Open
opened 2026-10-05 00:42:17 +02:00 by adam · 0 comments
Owner

In admin/include/functions.php, the function create_tag does not escape the tag name.

There is a possibility that this function is used without escaping the tag name, in a plugin or in the core itself.
That would create a flaw for hackers, because it allows SQL injections.

In admin/include/functions.php, the function create_tag does not escape the tag name. There is a possibility that this function is used without escaping the tag name, in a plugin or in the core itself. That would create a flaw for hackers, because it allows SQL injections. <!-- github-sync-id:1096889193 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1400