PT-2024-32802
CVE-2024-47764
·
Published
2024-10-04
·
Updated
2026-10-30
Description by
CVSS 4.0
6.9
MediumMetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions
cookie versions prior to 0.7.0
Description
The cookie name could be used to set other fields of the cookie, resulting in an unexpected cookie value. A similar escape can be used for
path and domain, which could be abused to alter other fields of the cookie. 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.Recommendations
Upgrade to 0.7.0, which updates the validation for
name, path, and domain.
As a temporary workaround, avoid passing untrusted or arbitrary values for these fields, ensure they are set by the application instead of user input.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾