Share
## https://sploitus.com/exploit?id=23D02444-2B37-5218-A347-774A203E0302
# CVE-2026-13152: Unauthenticated Privilege Escalation in Custom Fields Account Registration For WooCommerce  $meta_value) {
            // VULNERABILITY: No check against protected meta keys like wp_capabilities or wp_user_level
            update_user_meta($customer_id, sanitize_text_field($meta_key), sanitize_text_field($meta_value));
        }
    }
}
```

On WordPress installations utilizing custom database prefixes or custom meta key configurations, an unauthenticated attacker can supply a custom field input matching the administrator capability key (`wp_user_level = 10` or serialized array `a:1:{s:13:"administrator";b:1;}`). Upon account creation, `update_user_meta()` writes this value directly into `wp_usermeta`, elevating the newly registered account to full Administrator status.

---

## 💻 Proof-of-Concept (PoC)

> [!CAUTION]
> This Proof-of-Concept is provided strictly for educational purposes, defensive auditing, and vulnerability verification. Authorized testing only.

```html




    
    PoC - CVE-2026-13152 Privilege Escalation


    CVE-2026-13152 Exploit Payload
    
        
        
        
        
        
        
        
        
    


```

---

## 🛡️ Remediation & Defensive Recommendations

1. **Update Plugin Immediately:** Upgrade `Custom Fields Account Registration For WooCommerce` to **version 1.4** or higher where strict meta key validation is enforced.
2. **Implement Meta Key Blacklisting:** For plugin developers, always sanitize and validate meta key input against WordPress internal reserved keys:

```php
// Secure implementation in Version 1.4
$protected_keys = array('wp_capabilities', 'wp_user_level', 'user_level', 'session_tokens');
if (!in_array($meta_key, $protected_keys, true) && strpos($meta_key, 'wp_') !== 0) {
    update_user_meta($customer_id, $meta_key, $meta_value);
}
```

---

## 🏆 About the Researcher

* **Researcher Name:** [Huynh Kien Minh (MinhHK)](https://minhhk.web.app/)
* **Experience & Expertise:** Information Security Researcher specializing in WordPress ecosystem vulnerability research, SAST/DAST code auditing, and responsible disclosure.
* **Authority & Trustworthiness:** Official submitter on **WPScan Assigner** and creator of verified security advisories and vulnerability disclosures.
* **Portfolio & Disclosures:** [https://minhhk.web.app/](https://minhhk.web.app/)

---

## 📊 JSON-LD Structured Data Schema Markup

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "TechArticle",
      "@id": "https://github.com/MinhHK68/CVE-2026-13152#article",
      "headline": "Deep-Dive Technical Write-up by Huynh Kien Minh: CVE-2026-13152 — Custom Fields Account Registration For WooCommerce Privilege Escalation",
      "name": "CVE-2026-13152 Technical Analysis",
      "author": {
        "@type": "Person",
        "@id": "https://minhhk.web.app/#person",
        "name": "Huynh Kien Minh",
        "alternateName": ["MinhHK", "Huỳnh Kiến Minh"],
        "jobTitle": "Information Security Researcher",
        "url": "https://minhhk.web.app/"
      },
      "datePublished": "2026-07-06",
      "dateModified": "2026-08-01",
      "description": "Comprehensive technical analysis and PoC for CVE-2026-13152, an unauthenticated privilege escalation vulnerability in Custom Fields Account Registration For WooCommerce < 1.4 discovered by Huynh Kien Minh."
    },
    {
      "@type": "SpecialAnnouncement",
      "@id": "https://github.com/MinhHK68/CVE-2026-13152#advisory",
      "name": "CVE-2026-13152 Security Advisory",
      "category": "https://schema.org/SecurityAdvisory",
      "text": "Unauthenticated Privilege Escalation in Custom Fields Account Registration For WooCommerce < 1.4 allows remote attackers to gain administrator rights."
    }
  ]
}
```