{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-25496","id":"CVE-2026-25496","title":"Craft has a stored XSS in Number Prefix & Suffix Fields","description":"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 ","descriptionLong":"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.","published":"2026-02-09T19:45:19.835Z","updated":"2026-10-28T02:31:02.224215949Z","reserved":"2026-02-02T16:31:35.824Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":4.8,"vector":"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":4.8,"vector":"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":4.8,"vector":"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/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","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["craftcms cms"],"affectedProducts":[{"vendor":"craftcms","product":"cms","defaultStatus":null,"versions":[{"version":">= 5.0.0-RC1, < 5.8.22","status":"affected"},{"version":">= 4.0.0-RC1, < 4.16.18","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"craftcms/cms","purl":"pkg:composer/craftcms/cms","ranges":[">=5.0.0-RC1 <5.8.22",">=4.0.0-RC1 <4.16.18"],"fixed":["5.8.22","4.16.18"],"advisory":"GHSA-9f5h-mmq6-2x78"}],"cwes":["CWE-79"],"aliases":["GHSA-9f5h-mmq6-2x78"],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-9f5h-mmq6-2x78","tags":["x_refsource_CONFIRM","Exploit","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/craftcms/cms/commit/cb5fb0e979e72f315c9178fc031883d49527f513","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/craftcms/cms/releases/tag/5.8.22","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25496.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25496","tags":["advisory"]},{"url":"https://github.com/craftcms/cms","tags":["package"]},{"url":"https://github.com/craftcms/cms/releases/tag/4.16.18","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0041,"epssPercentile":0.35908,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-25496","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25496","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-25496","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9f5h-mmq6-2x78","ok":true,"note":"GHSA-9f5h-mmq6-2x78"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-25496","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}