An issue exists where the Plural-Forms header in selected third-party language packs can append JavaScript after a valid plural rule. This occurs because prefix-only regular-expression validation accepts a matching prefix without requiring the entire header to match. JupyterLab passes the accepted expression to the `new Function()` function, causing the appended code to execute in the authenticated JupyterLab origin when loading the catalogue and translating a plural string. In environments where Jupyter Server kernels, terminals, and APIs are exposed, this can allow the execution of code to read or modify files and run commands via authenticated server APIs. The impact is more limited in JupyterLite due to fewer exposed server surfaces. The default English locale is not affected.