{"id":"CVE-2026-63190","summary":"FearlessCMS: Unauthenticated debug scripts expose filesystem operations and XSS","details":"FearlessCMS is a flat-file `content` management system centered on simplicity and open source. Prior to version 0.1.4, five debug/test PHP scripts under `admin/` perform privileged operations without `isLoggedIn()` authentication checks, CSRF protection or adequate `path` validation. On PHP's built-in development server, including the default Docker deployment, `router.php` checks an unnormalized admin URI prefix while the filesystem resolves dot segments, so `/./admin/` bypasses the admin login gate and executes those scripts directly. In `admin/debug_save_flow.php`, attacker-controlled `path` and `content` reach `file_put_contents` for arbitrary `.md` writes under `content`/ or outside it through `path` traversal, enabling site defacement and stored JavaScript in public pages; `print_r($_POST)` output without `htmlspecialchars` escaping also causes reflected cross-site scripting. The `admin/debug_content.php` `path` parameter reaches `scandir()`, `file_get_contents()` and `posix_getpwuid()`, permitting arbitrary directory enumeration and `.md` file reads that expose absolute paths, ownership, permissions, hashes and `content` previews. The `admin/preview-handler.php` endpoint accepts JSON `content` and `title` and writes enumerable files under `content/_preview/`, enabling stored cross-site scripting and disk exhaustion. The `admin/testdebug.php` endpoint appends to `admin/testdebug.log` without authentication, also enabling disk exhaustion. The `admin/test_redirect.php` script exposes a test artifact but escapes its inputs and is not itself an XSS sink. Stored script execution can steal sessions and compromise administrators when they view affected `content`. Reads and writes execute with PHP's privileges; the tested deployment runs PHP as root, amplifying filesystem impact. This issue is fixed in version 0.1.4.","aliases":["GHSA-3mq8-hrhf-7hv6"],"modified":"2026-10-31T02:30:29.301071713Z","published":"2026-10-28T19:28:00.080Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-200","CWE-22","CWE-288","CWE-306","CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63190.json"},"references":[{"type":"WEB","url":"https://github.com/fearlessgeekmedia/FearlessCMS/tree/0.1.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63190.json"},{"type":"ADVISORY","url":"https://github.com/fearlessgeekmedia/FearlessCMS/security/advisories/GHSA-3mq8-hrhf-7hv6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63190"},{"type":"FIX","url":"https://github.com/fearlessgeekmedia/FearlessCMS/commit/59fb22cf989b5ba14c387c3212e15b146e02cf9a"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fearlessgeekmedia/fearlesscms","events":[{"introduced":"0"},{"fixed":"b88ff628a001c6be25cae3bc763337a56ed2137a"},{"fixed":"59fb22cf989b5ba14c387c3212e15b146e02cf9a"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"0.1.4"}]},{"range":[{"fixed":"59fb22cf989b5ba14c387c3212e15b146e02cf9a"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["0.1.3","0.1.2","0.1.1","0.1.0","0.0.3-10","0.0.3-9","0.0.3-8","0.0.3-7","0.0.3-6","0.0.3-5","0.0.3-4","0.0.3-3","0.0.3-2","0.0.3-1","0.0.2-16","0.0.2-14","0.0.2-13","0.0.2-12","0.0.2-11","0.0.2-9","0.0.2-8","0.0.2-7","0.0.2-6","0.0.2-5","0.0.2-3","0.0.2-2","0.0.2-1","0.0.2","0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63190.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L"}]}