cors-credential-wordpress

Detect and exploit CORS misconfigurations on WordPress REST API endpoints.

1.1k|191|Updated Jun 24, 2026
One-click install
npx skills add https://github.com/uphiago/recon-skills --skill cors-credential-wordpress
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cors-credential-wordpress
Source: https://github.com/uphiago/recon-skills/tree/main/recon/cors-credential-wordpress
Command: npx skills add https://github.com/uphiago/recon-skills --skill cors-credential-wordpress

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the critical problem of identifying and exploiting CORS misconfigurations on WordPress REST API endpoints, a high-severity vulnerability found in ~7-8% of US SMB WordPress sites that enables cross-origin credential theft and unauthorized data exfiltration.

Core Features & Use Cases

  • 8 CORS Variant Detection: Identifies all 8 common CORS misconfiguration types, including origin reflection with credentials, null origin access, and plugin-specific CORS flaws.
  • Exploit Validation & PoC Generation: Provides step-by-step procedures to confirm exploitability and build working browser proof-of-concept code for data exfiltration.
  • Attack Chain Integration: Supports chaining CORS flaws with user enumeration and spear-phishing to achieve full WordPress admin account takeover. For penetration testers assessing WordPress site security, this Skill lets you quickly validate CORS findings, exfiltrate sensitive user and site data, and integrate the flaw into broader attack chains for full site compromise.

Quick Start

Use the cors-credential-wordpress skill to test a target WordPress site's REST API for exploitable CORS credential reflection vulnerabilities and generate a working browser proof-of-concept for sensitive data exfiltration.

Frequently Asked Questions about cors-credential-wordpress

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test WordPress REST API endpoints for CORS credential reflection vulnerabilities?

You can detect WordPress CORS misconfigurations by testing 8 distinct variants, including null origin access, origin reflection with credentials, and plugin-specific REST API flaws. This identifies cross-origin credential theft risks across core and plugin endpoints.

How do I build a proof-of-concept for cross-origin data exfiltration on WordPress?

Generate working browser proof-of-concept code that leverages the detected CORS credential reflection to exfiltrate sensitive user and site data from the targeted WordPress REST API endpoints.

Can CORS misconfigurations be chained with other flaws for WordPress account takeover?

Yes, CORS credential theft can be chained with user enumeration and spear-phishing to achieve full WordPress admin account takeover, integrating the cross-origin vulnerability into broader site compromise attack chains.

What types of CORS misconfigurations affect WordPress sites?

WordPress sites are affected by 8 distinct CORS misconfiguration types, including origin reflection with credentials, null origin access, and plugin-specific REST API flaws, which collectively enable cross-origin credential theft.

Does this CORS penetration testing workflow apply to plugin-specific WordPress endpoints?

Yes, this penetration testing workflow applies to plugin-specific WordPress REST API endpoints, testing 8 distinct CORS variants across both core and plugin endpoints to identify exploitable credential reflection flaws.