CVE-2023-6745: WordPress Custom Field Template - Stored XSS
- Cve: CVE-2023-6745
- Name: WordPress Custom Field Template - Stored XSS
- Description: The Custom Field Template plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'cpt' shortcode in all versions up to, and including, 2.6.1 due to insufficient input sanitization and output escaping on user supplied post meta. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
- Impact: Attackers can inject and execute malicious scripts on pages, leading to potential session hijacking, defacement, or data theft.
- Remediation: Update to the latest version of the plugin, version 2.6.2 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: logged_in
- Requirements: Attacker needs to be logged in with contributor or higher permissions
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00257
- Epss percentile: 0.17431
- Assignee: [email protected]
- Published at: 2024-06-11T03:15:09Z
- Age in days: 896
- Modified at: 2026-06-17T06:51:20Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-6745
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| wpgogo:custom_field_template | < 2.6.2 | no | nvd | /v1/products/wpgogo/custom_field_template |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts