DirectorySecurity Advisories
Sign In
Security Advisories

CGA-q99h-6896-g5fw

Published

Last updated

https://images.chainguard.dev/security/CGA-q99h-6896-g5fw
Package

sqlpad

Latest Update
Fixed
Fixed Version

7.5.0-r1

Aliases
  • CVE-2024-43796
  • GHSA-qw6h-vgh9-j6wx

Severity

5.0

Medium

CVSS V3

Summary

express vulnerable to XSS via response.redirect()

Description

Impact

In express <4.20.0, passing untrusted user input - even after sanitizing it - to response.redirect() may execute untrusted code

Patches

this issue is patched in express 4.20.0

Workarounds

users are encouraged to upgrade to the patched version of express, but otherwise can workaround this issue by making sure any untrusted inputs are safe, ideally by validating them against an explicit allowlist

Details

successful exploitation of this vector requires the following:

  1. The attacker MUST control the input to response.redirect()
  2. express MUST NOT redirect before the template appears
  3. the browser MUST NOT complete redirection before:
  4. the user MUST click on the link in the template

References

Updates


Safe Source for Open Sourceâ„¢
Media KitContact Us
© 2024 Chainguard. All Rights Reserved.
Private PolicyTerms of Use

Product

Chainguard Images