All versions of the package github.com/greenpau/caddy-security are vulnerable to Cross-site Scripting (XSS) via the Referer header, due to improper input sanitization. Although the Referer header is sanitized by escaping some characters that can allow XSS (e.g., [&], [<], [>], ["], [']), it does not account for the attack based on the JavaScript URL scheme (e.g., javascript:alert(document.domain)// payload). Exploiting this vulnerability may not be trivial, but it could lead to the execution of malicious scripts in the context of the target user’s browser, compromising user sessions.
History

Wed, 06 Nov 2024 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published: 2024-02-17T05:00:02.407Z

Updated: 2024-11-06T18:53:52.043Z

Reserved: 2023-12-22T12:33:20.118Z

Link: CVE-2024-21496

cve-icon Vulnrichment

Updated: 2024-08-01T22:20:40.901Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-02-17T05:15:09.603

Modified: 2024-11-06T19:35:12.967

Link: CVE-2024-21496

cve-icon Redhat

No data.