CVE Explorer
CVE-2026-25496
Craft is a platform for creating digital experiences. In Craft versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, a stored XSS vulnerability exists in the Number field type settings. The Prefix and Suffix fields are rendered using the |md|raw Twig filter without proper escaping, allowing script execution when the Number field is displayed on users' profiles. This issue is patched in versions 4.16.18 and 5.8.22.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"cms","vendor":"craftcms","versions":[{"status":"affected","version":">= 5.0.0-RC1, < 5.8.22"},{"status":"affected","version":">= 4.0.0-RC1, < 4.16.18"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:242f2faf26b37757211a622c662c9228a02e79df7c5e27125c7489547b2f3ee7 · sha256:afd0e688f6654e90… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":4.8,"baseSeverity":"MEDIUM","privilegesRequired":"HIGH","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:242f2faf26b37757211a622c662c9228a02e79df7c5e27125c7489547b2f3ee7 · sha256:afd0e688f6654e90… · /containers/cna/metrics/0/cvssV4_0
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:242f2faf26b37757211a622c662c9228a02e79df7c5e27125c7489547b2f3ee7 · sha256:afd0e688f6654e90… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/craftcms/cms/commit/cb5fb0e979e72f315c9178fc031883d49527f513","tags":["x_refsource_MISC"],"url":"https://github.com/craftcms/cms/commit/cb5fb0e979e72f315c9178fc031883d49527f513"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:242f2faf26b37757211a622c662c9228a02e79df7c5e27125c7489547b2f3ee7 · sha256:afd0e688f6654e90… · /containers/cna/references/1
{"name":"https://github.com/craftcms/cms/releases/tag/5.8.22","tags":["x_refsource_MISC"],"url":"https://github.com/craftcms/cms/releases/tag/5.8.22"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:242f2faf26b37757211a622c662c9228a02e79df7c5e27125c7489547b2f3ee7 · sha256:afd0e688f6654e90… · /containers/cna/references/2
{"name":"https://github.com/craftcms/cms/security/advisories/GHSA-9f5h-mmq6-2x78","tags":["x_refsource_CONFIRM"],"url":"https://github.com/craftcms/cms/security/advisories/GHSA-9f5h-mmq6-2x78"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:242f2faf26b37757211a622c662c9228a02e79df7c5e27125c7489547b2f3ee7 · sha256:afd0e688f6654e90… · /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.