Περιγραφή
Grav before 2.0.14 contains a stored cross-site scripting vulnerability in the Security::detectXss() function (system/src/Grav/Common/Security.php). All XSS detection patterns use the PCRE /u (UTF-8) modifier, so a single invalid UTF-8 byte anywhere in page content causes preg_match() to return false for every pattern, silently bypassing the save-time XSS safety gate (Validation::checkSafety()). An authenticated attacker with page-edit permissions (without the security.xss_whitelist privilege) can store malicious JavaScript that executes in the browser of a visitor who views the affected page.
CVSS 5.4EPSS 0.182%Κίνδυνος 0.55
Προβολή πηγής- Δημοσίευση
- 2026-08-18 12:19:33
- Επηρεαζόμενες εκδόσεις
- <2.0.14
- Τύπος
- Εφαρμογή ιστού
- Τελευταία τροποποίηση
- 2026-08-18 14:18:11
- Διάνυσμα
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N