2084AI Security Observatory

2084-W-261126-025Vulnerabilities

laradocs fixes command injection in server-side KaTeX rendering

Automated report: written by AI from the sources listed below and checked by automated fact-checks. No human editor reviewed it before publication. Report an error →

Share this flash as an image

Creating the image…

GitHub Security Advisories published an advisory for laradocs, a Laravel documentation package, covering a local command injection (CWE-78) in server-side KaTeX rendering. The flaw sits in a proc_open() command string where the Node.js binary path was not passed through escapeshellarg(). Versions from 0.4.0 up to but not including 1.0.0 are affected; 1.0.0 fixes it. The advisory scores the issue 6.4 (CVSS v3.1, per GitHub Security Advisories) but rates it Low, saying the vulnerable path is reached only when opt-in server-side rendering is enabled, which ships disabled, and that exploitation also requires control of the node_bin setting or the process PATH. The issue was reported through automated security scanning.

AI-written · not human-reviewed

What to do

Upgrade petebishwhip/laradocs to 1.0.0 or later, as listed in the GitHub Security Advisories advisory.

Sources

  1. GitHub Security Advisories · laradocs Command injection via unescaped Node.js binary path in KaTeX SSR Official & standards · 2026-11-26 · Primary