Medium · CVSS 6.4 (GHSA) · fetched 2026-11-25
### Summary Local command injection (CWE-78) in server-side KaTeX rendering via an unescaped Node.js binary path in a `proc_open()` command string. ### Affected versions >= 0.4.0, < 1.0.0 ### Patched versions >= 1.0.0 (fixed in commit `100cb1e`) ### Impact When rendering KaTeX math **server-side**, Laradocs invoked Node via `proc_open()` with a command string in which the Node binary argument was not passed through `escapeshellarg()`.
This advisory is PHP-relevant but does not enumerate interpreter branches: it concerns a PHP application or component — the product named in the summary above. The affected versions and the fixed release to move to are stated in the remediation and the source advisory.
Not KEV-listed in this record. In the source data for this record (retrieved 2026-11-25), the vulnerability was not listed in the CISA Known Exploited Vulnerabilities catalog. Read that narrowly: it means no catalogued exploitation at retrieval time, not that exploitation is impossible or unreported elsewhere.
Patch in the next regular maintenance cycle. The drivers for this record: the source rates it Medium; CVSS 6.4 (GHSA); it affects a PHP application component rather than the interpreter. No emergency handling is indicated by this record; schedule it, and re-check sooner if its KEV or severity status changes.
How this verdict is derived: from the fields on this page — the source advisory's severity and CVSS score, CISA KEV listing status and the affected-branch data — as retrieved 2026-11-25. It is a triage aid, not a substitute for the source advisory.
Upgrade petebishwhip/laradocs to 1.0.0 or later.
See the source advisory.
Source: GitHub Global Security Advisories (Composer ecosystem) · retrieved 2026-11-25T15:20:13-05:00 · https://github.com/advisories/GHSA-h746-qpxh-ph7g