U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Vulnerability Change Records for CVE-2024-21496

Change History

New CVE Received by NIST 2/17/2024 12:15:09 AM

Action Type Old Value New Value
Added CVSS V3.1

								
							
							
						
Snyk AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Added CWE

								
							
							
						
Snyk CWE-79
Added Description

								
							
							
						
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.
Added Reference

								
							
							
						
Snyk https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/ [No types assigned]
Added Reference

								
							
							
						
Snyk https://github.com/greenpau/caddy-security/issues/267 [No types assigned]
Added Reference

								
							
							
						
Snyk https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249860 [No types assigned]