CVE-2025-31131:
Yeswiki Path Traversal vulnerability allows arbitrary read of files
8.6
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.93637%
CWE
Published
4/1/2025
Updated
4/1/2025
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
yeswiki/yeswiki | composer | < 4.5.2 | 4.5.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability exists in ThemeManager::loadTemplates
where user-controlled parameters (theme/squelette/style
) were used to construct filesystem paths without proper validation. The patch adds path sanitization checks and regex validation, confirming the original implementation was vulnerable. The function
appears in stack traces when processing theme parameters and would be involved during exploitation as it handles the vulnerable 'squelette' input.