Rapid7 Vulnerability & Exploit Database

WordPress REST API Content Injection

Back to Search

WordPress REST API Content Injection



This module exploits a content injection vulnerability in WordPress versions 4.7 and 4.7.1 via type juggling in the REST API.


  • Marc Montpas
  • wvu <wvu@metasploit.com>


Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/scanner/http/wordpress_content_injection
msf auxiliary(wordpress_content_injection) > show actions
msf auxiliary(wordpress_content_injection) > set ACTION < action-name >
msf auxiliary(wordpress_content_injection) > show options
    ...show and set options...
msf auxiliary(wordpress_content_injection) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security