CVE-2025-54940: wordpress advanced-custom-fields Code Injection
CVSS: 4.6v4.0MediumDeferred
Published 08-08-2025Last modified 08-08-2025
Vulnerability summary
CVE-2025-54940 is a medium (CVSS 4.6) Code Injection vulnerability in wordpress advanced-custom-fields. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 10.5% of scored vulnerabilities. Fixed in 6.4.3.
CVSS score
4.6/10
010
Medium · v4.0 (CVE.org)EPSS score
0.21%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 08-08-2025PublishedVulnerability first disclosed.
- 08-08-2025Last modifiedVulnerability information updated.
Description
An HTML injection vulnerability exists in WordPress plugin "Advanced Custom Fields" prior to 6.4.3. If this vulnerability is exploited, crafted HTML code may be rendered and page display may be tampered.
CVSS metrics
5 scores · 3 sources · 3 versionsMedium 4.6Preferred score · CVE.org (CNA)
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:NSourcesAll 2 agree
- NVDNIST4.6MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Medium 4.1Preferred score · wordfence (Source)
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:NSourcesSingle source
Low 3.4Preferred score · CVE.org (CNA)
CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:L/A:NSourcesAll 2 agree
- NVDNIST3.4LowCVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:L/A:N
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
0.00 pp
From 0.21% on 21-09-2026
21-09-202621-10-2026
EPSS score0.21%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-94Improper Control of Generation of Code ('Code Injection')The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Affected systems
Wordpress1 product
- advanced-custom-fields≤ 6.4.2 (fixed in 6.4.3)
Wpengine, inc.1 product
- advanced custom fieldsprior to 6.4.3
2 vendors · 2 products