CVE-2026-25496

Source
https://cve.org/CVERecord?id=CVE-2026-25496
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25496.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-25496
Aliases
Downstream
Published
2026-02-09T19:45:19Z
Modified
2026-10-28T02:31:02Z
Severity
  • 4.8 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Craft has a stored XSS in Number Prefix & Suffix Fields
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-79"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25496.json"
}
References

Affected packages

Git / github.com/craftcms/cms

Affected ranges

Type
GIT
Repo
https://github.com/craftcms/cms
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "5.0.0-RC1"
                },
                {
                    "fixed":  "5.8.22"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "4.0.0-RC1"
                },
                {
                    "fixed":  "4.16.18"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "cb5fb0e979e72f315c9178fc031883d49527f513"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "5.8.22",
            "range":  [
                {
                    "fixed":  "8e23a7a14d50f169c10a487348c993384d479e06"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}
Type
GIT
Repo
https://github.com/nystudio107/craft-seomatic
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:craftcms:craft_cms:4.0.0:-:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.0.0-NA"
                },
                {
                    "last_affected":  "4.0.0-NA"
                }
            ],
            "source":  "CPE_STRING"
        }
    ]
}

Affected versions

4.*
4.0.0
4.0.0-NA
4.0.0-rc1
4.0.0-rc2
4.0.0-rc3
5.*
5.0.0-NA
5.0.0-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25496.json"