CVE-2024-0627: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in hiroaki-miyashita Custom Field Template
The Custom Field Template plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's custom field name column in all versions up to, and including, 2.6.1 due to insufficient input sanitization and output escaping on user supplied custom fields. 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.
AI Analysis
Technical Summary
CVE-2024-0627 is a stored cross-site scripting vulnerability in the Custom Field Template WordPress plugin by hiroaki-miyashita. The issue arises from improper neutralization of input during web page generation, specifically in the custom field name column. Authenticated users with contributor or higher privileges can inject arbitrary scripts due to lack of input sanitization and output escaping. This can lead to script execution in the context of other users viewing the injected pages. The vulnerability affects all versions up to and including 2.6.1. The CVSS 3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, and privileges required.
Potential Impact
An attacker with contributor-level or higher permissions can inject persistent malicious scripts into pages via the custom field name column. These scripts execute in the context of users who view the affected pages, potentially leading to information disclosure or session hijacking. The impact is limited to confidentiality and integrity with no availability impact. There are no known active exploits reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict contributor-level permissions to trusted users only. Consider disabling or limiting use of the Custom Field Template plugin if possible. Monitor for updates from the plugin author or WordPress security channels.
CVE-2024-0627: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in hiroaki-miyashita Custom Field Template
Description
The Custom Field Template plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's custom field name column in all versions up to, and including, 2.6.1 due to insufficient input sanitization and output escaping on user supplied custom fields. 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-0627 is a stored cross-site scripting vulnerability in the Custom Field Template WordPress plugin by hiroaki-miyashita. The issue arises from improper neutralization of input during web page generation, specifically in the custom field name column. Authenticated users with contributor or higher privileges can inject arbitrary scripts due to lack of input sanitization and output escaping. This can lead to script execution in the context of other users viewing the injected pages. The vulnerability affects all versions up to and including 2.6.1. The CVSS 3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, and privileges required.
Potential Impact
An attacker with contributor-level or higher permissions can inject persistent malicious scripts into pages via the custom field name column. These scripts execute in the context of users who view the affected pages, potentially leading to information disclosure or session hijacking. The impact is limited to confidentiality and integrity with no availability impact. There are no known active exploits reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict contributor-level permissions to trusted users only. Consider disabling or limiting use of the Custom Field Template plugin if possible. Monitor for updates from the plugin author or WordPress security channels.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-01-16T20:41:28.731Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6de1b7ef31ef0b5900e9
Added to database: 2/25/2026, 9:47:13 PM
Last enriched: 4/9/2026, 11:45:29 AM
Last updated: 4/11/2026, 6:37:34 PM
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.