PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-9855 hiroaki-miyashita CVE debrief

The Custom Field Template plugin for WordPress has a SQL injection vulnerability via the 'post_ID' parameter in versions up to and including 2.7.8. Authenticated attackers with contributor-level access can append SQL queries to extract sensitive database information. This vulnerability allows attackers to potentially disclose sensitive information from the database, and site administrators should assess exposure and apply patches or updates to prevent potential SQL injection attacks. The capability check via current_user_can('edit_post', $id) is bypassable because WordPress internally casts $id to an integer for the permission evaluation while the full unsanitized string is The de

Vendor
hiroaki-miyashita
Product
Custom Field Template
CVSS
MEDIUM 6.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-09-19
Original CVE updated
2026-09-21
Advisory published
2026-09-19
Advisory updated
2026-09-21

Who should care

WordPress site administrators, security teams, and developers using the Custom Field Template plugin should assess exposure and apply patches or updates to prevent potential SQL injection attacks.

Why it matters

CVE-2026-9855 is a SQL injection vulnerability in the Custom Field Template plugin for WordPress. Authenticated attackers with contributor-level access can inject SQL queries, potentially leading to sensitive information disclosure. WordPress site administrators and security teams should assess exposure and apply patches or updates.

  • Potential sensitive information disclosure from database queries.
  • Increased risk of data breaches due to SQL injection vulnerability.
  • Need for verification of contributor-level access controls and SQL query sanitization.
  • Priority for applying patches or updates to prevent exploitation.

Technical summary

The Custom Field Template plugin for WordPress is vulnerable to SQL injection via the 'post_ID' parameter. Insufficient escaping and lack of SQL query preparation allow authenticated attackers with contributor-level access to append additional SQL queries, potentially leading to sensitive information disclosure. The capability check is bypassable due to integer casting and nonce obtainment by Contributor-level users. The vulnerability makes it possible for attackers to inject SQL queries and extract sensitive information from the database, emphasizing the need for verifying contributor-level access controls and SQL query sanitization.

Defensive priority

Medium priority for WordPress site administrators and security teams to assess exposure and apply patches.

Recommended defensive actions

  • Assess exposure by checking if the Custom Field Template plugin version is 2.7.8 or earlier.
  • Verify contributor-level access controls and SQL query sanitization.
  • Apply patches or updates provided by the vendor.
  • Monitor for suspicious SQL queries and database access attempts.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.

Evidence notes

The vulnerability allows authenticated attackers with contributor-level access to inject SQL queries, potentially leading to sensitive information disclosure. The capability check is bypassable due to integer casting and nonce obtainment by Contributor-level users.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-9855 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-9855

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-9855 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-9855

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://plugins.trac.wordpress.org/browser/custom-field-template/tags/2.7.7/custom-field-template.php

    [email protected]

  • Source reference

    Unverified legacy reference

    URL: https://plugins.trac.wordpress.org/browser/custom-field-template/tags/2.7.8/custom-field-template.php

    [email protected]

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.