Advisory record · GHSA-9f5h-mmq6-2x78

Craft CMS Vulnerable to Stored XSS in Number Prefix & Suffix Fields

CVSS 4.8 MediumEPSS 0.0041 · 35th percentile

Published by the GitHub Advisory Database at 9 Feb 2026, 20:35 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
craftcms/cmsPackagist>=5.0.0-RC1, <5.8.22 || >=4.0.0-RC1, <4.16.185.8.22, 4.16.18
Identifiers
GHSA-9f5h-mmq6-2x78 · CVE-2026-25496 · PKSA-5pj5-nxp6-547h
Weakness (CWE)
CWE-79
Published
9 Feb 2026
Updated
22 Feb 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Craft CMS versions 4.0.0-RC1 up to 4.16.18 and 5.0.0-RC1 up to 5.8.22 are vulnerable to stored cross-site scripting in the prefix and suffix settings of the Number field type. An attacker with administrator access, where admin changes are allowed in production, can store script that runs when the field is displayed on user profiles. Upgrade to Craft CMS 4.16.18 or 5.8.22. The source gives few details on any workaround.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.8 Medium 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0041, the 35th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:26 UTC First seen by agentprime
  2. 31 Oct 2026, 14:26 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.