Skip to content

fix(lib): Addresses GHSA-rg36-rxv9-2m9q vulnerability - #274

Open
mfdebian wants to merge 2 commits into
pillarjs:5.0from
mfdebian:fix-GHSA-rg36-rxv9-2m9q
Open

fix(lib): Addresses GHSA-rg36-rxv9-2m9q vulnerability#274
mfdebian wants to merge 2 commits into
pillarjs:5.0from
mfdebian:fix-GHSA-rg36-rxv9-2m9q

Conversation

@mfdebian

@mfdebian mfdebian commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Addresses GHSA-rg36-rxv9-2m9q

Backports 1f67ecf from master to 5.0.

This backport brings 5.0 to parity with what master ships today.

The fix is @UlisesGascon work and he is preserved as author of b290fac, along with the original Co-authored-by trailers and the (cherry picked from commit 1f67ecf...) line. He is additionally listed as a Co-authored-by trailer so that credit survives a squash merge, which would otherwise reassign authorship to me (I think?). Only the tests are (my) new work, and they are isolated in their own commit.

Just as a disclaimer: I did use Claude Code to test this changes locally and it found an issue in the current v4.3.0 version in which (since the substitution runs in a callback invoked from Waiter.resolve() outside the try/catch in render_file) there's a possibility an exception throws and terminates the process; Express error middleware cannot intercept it and no HTTP response is sent. I will be opening an issue with that info after opening this PR. It did give me a reproducible example (that I will share on that issue) but I (sadly) haven't had the time to double check the proposed (by Claude) fix for it just yet. While I'm terrified of opening AI slop issues, since I was able to reproduce this one locally, I'd rather have it documented somewhere and worst case scenario, if it doesn't really apply, we just close it. This branch is unaffected by that issue.

UlisesGascon and others added 2 commits September 1, 2026 15:12
Ref: GHSA-rg36-rxv9-2m9q

-------

Co-authored-by: EQSTLab <148991397+EQSTLab@users.noreply.github.com>
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
Co-authored-by: Ulises Gascón <ulisesgascongonzalez@gmail.com>
(cherry picked from commit 1f67ecf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants