Vulnerabilities

CVE-2025-57811

High 7.2 CVSS 3.1

Description

Craft is a platform for creating digital experiences. From versions 4.0.0-RC1 to 4.16.5 and 5.0.0-RC1 to 5.8.6, there is a potential remote code execution vulnerability via Twig SSTI (Server-Side Template Injection). This is a follow-up to CVE-2024-52293. This vulnerability has been patched in versions 4.16.6 and 5.8.7.

Description as published by the source, in English.

Key facts

Published
2025-08-25
Last modified
2026-06-17
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.9 % higher than 55 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
craftcms cms (Packagist) ≥ 4.0.0-RC1, < 4.16.6 Affected
craftcms cms (Packagist) ≥ 5.0.0-RC1, < 5.8.7 Affected
Craftcms Craft Cms 4.0.0 Affected
Craftcms Craft Cms 5.0.0 Affected
Craftcms Craft Cms ≥ 4.1.0, < 4.16.6 Affected
Craftcms Craft Cms ≥ 5.1.0, < 5.8.7 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities