/

CVE-2026-127921

Severity:

HIGH RISK

(7.5)

SQL Injection (CWE-89) in AppPresser WordPress Plugin

CVE-2026-127921

Deferred

Vulnerability type

Category:

SQL Injection

CWE:

CWE-89

Impact:

Database Information Disclosure

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

The AppPresser – Mobile App Framework plugin for WordPress has a SQL injection vulnerability in the appp_cam_file[name] parameter because user-supplied input is not sufficiently escaped or safely bound in a query. An attacker who can obtain the required nonce may be able to extract sensitive information from the WordPress database.

Affected context

The issue affects the AppPresser – Mobile App Framework plugin in versions up to and including 5.0.0. It occurs in the camera-related AJAX functionality that processes the appp_cam_file[name] parameter. Although the handler is registered for unauthenticated requests, its nonce is only emitted to logged-in users viewing a page containing the [app-camera] shortcode, making Subscriber-level access the effective minimum requirement described for exploitation.

Exploit preconditions

  • Attack surface: The plugin's camera-related AJAX handler and its appp_cam_file[name] parameter
  • Required access: The ability to obtain the nonce; the described effective minimum is Subscriber-level access
  • Trigger point: Processing of the parameter by the handler's SQL query
  • Why exploitation is possible: The input is insufficiently escaped and the existing query is not sufficiently prepared, allowing SQL syntax to affect the query

Why this happens

The application incorporates user-controlled input into a SQL query without adequate escaping or parameterized query preparation. This is a SQL injection flaw mapped to CWE-89, where input is interpreted as part of the SQL command rather than only as data.

Potential impact

  • Attackers who meet the access and nonce requirements may be able to retrieve sensitive database information.
  • Exposed records could include information stored by WordPress or its plugins, depending on the database contents and query context.
  • Disclosure of database information could support further attacks against the site or its users.

General mitigation guidance

Common defensive patterns include:

  • Using parameterized queries for all database operations involving user-controlled values.
  • Avoiding reliance on escaping alone when a query can be expressed with prepared statements.
  • Validating inputs against the expected type, format, and length while still treating them as untrusted.
  • Limiting database account privileges to the operations the application actually requires.
  • Reducing exposure of sensitive data and ensuring authorization checks are applied independently of nonce validation.

How teams detect issues like this

  • Use static analysis to identify SQL queries assembled through string concatenation or interpolation with request data.
  • Review AJAX handlers for parameterized queries, input validation, and authorization checks separate from nonce checks.
  • Apply code review policies requiring prepared statements for database access involving untrusted input.
  • Monitor database and application logs for unexpected query patterns or suspicious access to sensitive records.
  • Automated code review tools may help flag unsafe query construction for manual assessment.

Sources

SourceLink
github.comgithub.com/apppresser/AppPresser/commit/16302ace4b265988dd6afb162db64f949b7c09d2
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/apppresser/tags/5.0.0/modules/camera/bootstrap.php#L236
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/apppresser/tags/5.0.0/modules/camera/inc/AppPresser_Camera_Ajax.php#L119
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/apppresser/tags/5.0.0/modules/camera/inc/AppPresser_Camera_Ajax.php#L25
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/apppresser/tags/5.0.0/modules/camera/inc/AppPresser_Camera_Ajax.php#L98
plugins.trac.wordpress.orgplugins.trac.wordpress.org/changeset?reponame=&new=3804304%40apppresser%2Ftags%2F5.1.0&old=3794853%40apppresser%2Ftags%2F5.0.0
wordfence.comwordfence.com/threat-intel/vulnerabilities/id/ed9c615b-4577-453b-a548-6d4566be4b92?source=cve

Frequently asked

questions

It is registered for unauthenticated requests, but the required nonce is only emitted to logged-in users viewing a page with the [app-camera] shortcode. The description identifies Subscriber-level access as the effective minimum for exploitation.

An attacker who meets the stated preconditions may be able to extract sensitive information from the database. The exact data exposed depends on the query context and database contents.

Use parameterized queries so user-controlled values are handled as data, not SQL syntax. Input validation and escaping should not substitute for prepared statements.

Require prepared statements for queries involving external input, review AJAX authorization and nonce handling separately, and use static analysis and code review to detect unsafe query construction.

Find out what's already
exploitable in your codebase.