CVE-2026-2503
Received Received - Intake
Time-Based SQL Injection in ElementCamp WordPress Plugin

Publication date: 2026-03-21

Last updated on: 2026-03-21

Assigner: Wordfence

Description
The ElementCamp plugin for WordPress is vulnerable to time-based SQL Injection via the 'meta_query[compare]' parameter in the 'tcg_select2_search_post' AJAX action in all versions up to, and including, 2.3.6. This is due to the user-supplied compare value being placed as an SQL operator in the query without validation against an allowlist of comparison operators. The value is passed through esc_sql(), but since the payload operates as an operator (not inside quotes), esc_sql() has no effect on payloads that don't contain quote characters. This makes it possible for authenticated attackers, with Author-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-21
Last Modified
2026-03-21
Generated
2026-06-16
AI Q&A
2026-03-21
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
elementcamp elementcamp_plugin to 2.3.6 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The ElementCamp plugin for WordPress has a time-based SQL Injection vulnerability in the 'meta_query[compare]' parameter used in the 'tcg_select2_search_post' AJAX action. This vulnerability exists in all versions up to and including 2.3.6.

The issue arises because the user-supplied 'compare' value is used as an SQL operator in a query without proper validation against an allowlist of comparison operators. Although the value is passed through esc_sql(), this function does not prevent injection when the payload acts as an operator outside of quotes.

As a result, authenticated attackers with Author-level access or higher can append additional SQL queries to existing ones, potentially extracting sensitive information from the database.

Impact Analysis

This vulnerability allows authenticated users with Author-level access or above to perform time-based SQL Injection attacks, which can lead to unauthorized extraction of sensitive information from the database.

Because the attacker can append additional SQL queries, they might access confidential data that should otherwise be protected, potentially compromising the confidentiality of your system's data.

The vulnerability has a CVSS v3.1 base score of 6.5, indicating a medium severity with high impact on confidentiality but no impact on integrity or availability.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

I don't know

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-2503. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart