Skip to content

🚨 [security] Update morgan 1.9.1 → 1.11.0 (minor)#278

Open
depfu[bot] wants to merge 1 commit into
masterfrom
depfu/update/npm/morgan-1.11.0
Open

🚨 [security] Update morgan 1.9.1 → 1.11.0 (minor)#278
depfu[bot] wants to merge 1 commit into
masterfrom
depfu/update/npm/morgan-1.11.0

Conversation

@depfu

@depfu depfu Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ morgan (1.9.1 → 1.11.0) · Repo · Changelog

Security Advisories 🚨

🚨 morgan vulnerable to Log Forging via unneutralized control characters in :remote-user

Impact

Morgan's :remote-user token extracts the Basic auth username from the Authorization header and writes it to the log stream without neutralizing control characters. An attacker can send a crafted Authorization: Basic header containing CR/LF characters to inject forged log lines, corrupting the one-request-per-line structure of access logs.

The built-in combined, common, default, and short formats are affected, as well as any custom format that includes :remote-user.

Patches

Users should upgrade to version 1.11.0.

Workarounds

Use a custom format string that does not include :remote-user.

Release Notes

1.11.0

What's Changed

Security Fix:

New Contributors

Full Changelog: 1.10.0...1.11.0

1.10.1

What's Changed

New Contributors

Full Changelog: 1.10.0...1.10.1

1.10.0

  • Add :total-time token
  • Fix trailing space in colored status code for dev format
  • deps: basic-auth@~2.0.1
    • deps: safe-buffer@5.1.2
  • deps: depd@~2.0.0
    • Replace internal eval usage with Function constructor
    • Use instance methods on process to check for listeners
  • deps: on-headers@~1.0.2
    • Fix res.writeHead patch missing return value

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

🗑️ lodash.groupby (removed)

🗑️ lodash.mapvalues (removed)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu Bot added the depfu label Jun 3, 2026
@depfu depfu Bot changed the title Update morgan 1.9.1 → 1.11.0 (minor) 🚨 [security] Update morgan 1.9.1 → 1.11.0 (minor) Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants