Technical impact
The vulnerability is caused by five debug and test scripts located under the admin directory that lack authentication, CSRF protection, and proper path sanitization. These scripts allow an unauthenticated attacker to write arbitrary Markdown files, enumerate directories, read file contents, and execute stored JavaScript, leading to site defacement, credential theft, and potential session hijacking. The scripts also permit disk‑exhaustion attacks by appending to log files or writing many preview files. These weaknesses correspond to CWE‑200 (Information Disclosure), CWE‑22 (Path Traversal), CWE‑288 (Insecure Direct Object Reference), CWE‑306 (Missing Authentication), and CWE‑79 (Cross‑Site Scripting).
Affected Systems
FearlessCMS installations running any version earlier than 0.1.4 are affected. The vulnerability is present in the repository prior to the 0.1.4 release and also manifests when the default Docker image or PHP built‑in development server is used, allowing direct HTTP access to the admin/debug_* endpoints.
Risk and Exploitability
The CVSS score of 9.4 reflects the severity of this flaw. Because the scripts are exposed over HTTP without authentication, an attacker can exploit the vulnerability from any network that can reach the target, making the attack vector Remote. The EPSS score is not available, and the flaw is not listed in the CISA KEV catalog. Exploitation is straightforward: send crafted HTTP POST or GET requests to the debug endpoints, optionally using path traversal to write files outside the content directory. The PHP process runs as root in the tested deployment, amplifying the impact of arbitrary file writes and reads.