CVE Explorer
CVE-2026-2305
The AddFunc Head & Footer Code plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `aFhfc_head_code`, `aFhfc_body_code`, and `aFhfc_footer_code` post meta values in all versions up to, and including, 2.3. This is due to the plugin outputting these meta values without any sanitization or escaping. While the plugin restricts its own metabox and save handler to administrators via `current_user_can('manage_options')`, it does not use `register_meta()` with an `auth_callback` to
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"AddFunc Head & Footer Code","vendor":"addfunc","versions":[{"lessThanOrEqual":"2.3","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:6b4a93991c264981d0c6f0f53d5f11a9003da423e9e0d074734af6bf71cd2768 · sha256:4c70329b5312829f… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":6.4,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6b4a93991c264981d0c6f0f53d5f11a9003da423e9e0d074734af6bf71cd2768 · sha256:4c70329b5312829f… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6b4a93991c264981d0c6f0f53d5f11a9003da423e9e0d074734af6bf71cd2768 · sha256:4c70329b5312829f… · /containers/cna/problemTypes/0/descriptions/0
Source references
8 source assertions{"url":"https://plugins.trac.wordpress.org/browser/addfunc-head-footer-code/tags/2.3/addfunc-head-footer-code.php#L63"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b4a93991c264981d0c6f0f53d5f11a9003da423e9e0d074734af6bf71cd2768 · sha256:4c70329b5312829f… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/browser/addfunc-head-footer-code/tags/2.3/addfunc-head-footer-code.php#L74"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b4a93991c264981d0c6f0f53d5f11a9003da423e9e0d074734af6bf71cd2768 · sha256:4c70329b5312829f… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/browser/addfunc-head-footer-code/tags/2.3/addfunc-head-footer-code.php#L85"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b4a93991c264981d0c6f0f53d5f11a9003da423e9e0d074734af6bf71cd2768 · sha256:4c70329b5312829f… · /containers/cna/references/3
{"url":"https://plugins.trac.wordpress.org/browser/addfunc-head-footer-code/trunk/addfunc-head-footer-code.php#L63"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b4a93991c264981d0c6f0f53d5f11a9003da423e9e0d074734af6bf71cd2768 · sha256:4c70329b5312829f… · /containers/cna/references/4
{"url":"https://plugins.trac.wordpress.org/browser/addfunc-head-footer-code/trunk/addfunc-head-footer-code.php#L74"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b4a93991c264981d0c6f0f53d5f11a9003da423e9e0d074734af6bf71cd2768 · sha256:4c70329b5312829f… · /containers/cna/references/5
{"url":"https://plugins.trac.wordpress.org/browser/addfunc-head-footer-code/trunk/addfunc-head-footer-code.php#L85"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b4a93991c264981d0c6f0f53d5f11a9003da423e9e0d074734af6bf71cd2768 · sha256:4c70329b5312829f… · /containers/cna/references/6
{"url":"https://plugins.trac.wordpress.org/changeset?old_path=%2Faddfunc-head-footer-code/tags/2.3&new_path=%2Faddfunc-head-footer-code/tags/2.4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b4a93991c264981d0c6f0f53d5f11a9003da423e9e0d074734af6bf71cd2768 · sha256:4c70329b5312829f… · /containers/cna/references/7
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/2f2d1a67-1d9b-4b73-988e-085eaa7474c6?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6b4a93991c264981d0c6f0f53d5f11a9003da423e9e0d074734af6bf71cd2768 · sha256:4c70329b5312829f… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.