Download Latest Version scriptlog-v1.13.1.zip (10.5 MB)
Home / v1.12.0
Name Modified Size InfoDownloads / Week
Parent folder
scriptlog-v1.12.0.zip 2026-11-08 10.5 MB
README.md 2026-11-08 4.3 kB
v1.12.0 - PHP Runtime Security Guard _ API Routing Fix source code.tar.gz 2026-11-08 11.1 MB
v1.12.0 - PHP Runtime Security Guard _ API Routing Fix source code.zip 2026-11-08 12.5 MB
v1.12.0 source code.tar.gz 2026-11-08 11.1 MB
v1.12.0 source code.zip 2026-11-08 12.5 MB
Totals: 6 Items   57.6 MB 0

Scriptlog 1.12.0 - PHP Runtime Security Guard & API Routing Fix

Minor release focused on PHP runtime hardening, API routing reliability, and expanded end-to-end security coverage. No public API, database schema, or configuration breaking changes.

Added

  • PHP runtime security guard: New Scriptlog\Core\PhpRuntimeSecurityGuard evaluates the running PHP build against CVE-2026-109618 (OOM-corruption RCE), CVE-2026-109619 (stale-global-state RCE), and the informational CVE-2026-115560. report() writes one audit line for an affected runtime and enforce() fails closed when SCRIPTLOG_STRICT_PHP_SECURITY is enabled.
  • PHP security CLI gate: New bin/php-security-check.php prints the patched-release matrix (8.2.35+, 8.3.36+, 8.4.27+, 8.5.12+) and the INI knobs the advisories identify as exploitation paths.
  • Runtime hardening guide: New docs/dev-docs/PHP_RUNTIME_HARDENING.md documents verification, upgrade, and hardening steps.
  • Front-controller API hand-off: New lib/utility/api-request.php lets index.php dispatch /api/* to api/index.php on servers without an explicit API rewrite (DDEV/nginx, PHP's built-in server, default LiteSpeed). Covered by tests/unit/ApiFrontControllerHandoffTest.php.
  • Installer nginx API location: The generated nginx configuration now writes the /api/ location block before the catch-all.
  • Theme and security e2e coverage: New Playwright suites for the Restoblog and Tastybites themes, admin plugins, admin UI parity, blog search API routing/autocomplete, and security hardening (disclosure, traversal, XSS, SSRF). The theme suites have dedicated Playwright configs.
  • Specifications: New specs for security hardening, HTML injection, SSRF, and blog search API routing.

Changed

  • Front-controller ordering: index.php resolves the API hand-off before lib/main.php bootstraps, and ob_start() runs after the hand-off so the API keeps its own bootstrap order.
  • Bootstrap wiring: lib/main.php invokes the PHP runtime guard and lib/utility-loader.php loads the API hand-off helper.
  • Dependency refresh: PHPUnit 9.6.38, Symfony Config/Filesystem 5.4.56, and related polyfills; the Composer audit reports no security advisories.
  • Metrics script: composer metrics now runs php bin/phpmetrics.
  • Load-test accounting: load-test.sh distinguishes expected non-2xx probe responses (for example the 404 scenario) from unexpected failures in its CI gate.
  • Documentation: Developer, Testing, and Troubleshooting guides updated; Troubleshooting issue 55 covers the nginx/DDEV API routing failure.

Fixed

  • API routing on nginx/DDEV: /api/v1 no longer renders the theme 404 (or the HTML search page), so sidebar autocomplete and external API clients receive JSON.
  • Installer nginx rewrites: Fresh nginx installs now include the API location block.
  • Load-test false positives: Intentional 404 probes no longer fail the combined error-rate gate.
  • Coding-standard violations: PHPCS now passes across lib/.
  • Dev dependency advisories: Patched the two Symfony advisories reported by composer audit.

Security

  • Runtime advisory guard: Affected PHP builds are logged, and regulated deployments can fail closed.
  • Security e2e coverage: New suites assert source-disclosure, path-traversal, SQL-injection, XSS, and SSRF expectations.
  • Dependency advisories: Symfony Config and Filesystem updated to patched 5.4 releases.

Removed

  • structarmed: Removed the obsolete structarmed configuration files and dependency.

Upgrade notes

  • Run php bin/php-security-check.php before deploying and ensure production runs a patched PHP release: 8.2.35+, 8.3.36+, 8.4.27+, or 8.5.12+.
  • Set SCRIPTLOG_STRICT_PHP_SECURITY=1 to fail closed on affected runtimes.
  • No database schema or configuration migration is required.

Full comparison: https://github.com/cakmoel/Scriptlog/compare/v1.11.0...v1.12.0

Download Scriptlog

Source: README.md, updated 2026-11-08