Skip to content

fix(deps): update dependency cookie to v0.7.0 [security]#293

Open
renovate[bot] wants to merge 1 commit intodevelopfrom
renovate/npm-cookie-vulnerability
Open

fix(deps): update dependency cookie to v0.7.0 [security]#293
renovate[bot] wants to merge 1 commit intodevelopfrom
renovate/npm-cookie-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Aug 13, 2025

This PR contains the following updates:

Package Change Age Confidence
cookie 0.6.00.7.0 age confidence

cookie accepts cookie name, path, and domain with out of bounds characters

CVE-2024-47764 / GHSA-pxg6-pf52-xh8x

More information

Details

Impact

The cookie name could be used to set other fields of the cookie, resulting in an unexpected cookie value. For example, serialize("userName=<script>alert('XSS3')</script>; Max-Age=2592000; a", value) would result in "userName=<script>alert('XSS3')</script>; Max-Age=2592000; a=test", setting userName cookie to <script> and ignoring value.

A similar escape can be used for path and domain, which could be abused to alter other fields of the cookie.

Patches

Upgrade to 0.7.0, which updates the validation for name, path, and domain.

Workarounds

Avoid passing untrusted or arbitrary values for these fields, ensure they are set by the application instead of user input.

References

Severity

Low

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

jshttp/cookie (cookie)

v0.7.0: 0.7.0

Compare Source


Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from a team as a code owner August 13, 2025 12:08
@renovate renovate Bot changed the title fix(deps): update dependency cookie to v0.7.0 [security] fix(deps): update dependency cookie to v0.7.0 [security] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate renovate Bot deleted the renovate/npm-cookie-vulnerability branch March 27, 2026 00:56
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2026
@renovate renovate Bot changed the title fix(deps): update dependency cookie to v0.7.0 [security] - autoclosed fix(deps): update dependency cookie to v0.7.0 [security] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate renovate Bot force-pushed the renovate/npm-cookie-vulnerability branch 2 times, most recently from 2ee5faf to a77bdb0 Compare March 30, 2026 21:28
@renovate renovate Bot changed the title fix(deps): update dependency cookie to v0.7.0 [security] fix(deps): update dependency cookie to v0.7.0 [security] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title fix(deps): update dependency cookie to v0.7.0 [security] - autoclosed fix(deps): update dependency cookie to v0.7.0 [security] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate renovate Bot force-pushed the renovate/npm-cookie-vulnerability branch 2 times, most recently from a77bdb0 to e5139ce Compare April 27, 2026 21:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants