Reflected Cross-site Scripting (XSS) Affecting github.com/greenpau/caddy-security package, versions *
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-5969796
- published 15 Feb 2024
- disclosed 18 Sep 2023
- credit Maciej Domanski, Travis Peters, David Pokora
Introduced: 18 Sep 2023
CVE-2023-52430 Open this link in a new tabHow to fix?
There is no fixed version for github.com/greenpau/caddy-security
.
Overview
github.com/greenpau/caddy-security is a Security App and Plugin for Caddy v2.
Affected versions of this package are vulnerable to Reflected Cross-site Scripting (XSS) via /admin%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E/admin/login
or /settings/mfa/delete/<img%20src=x%20onerror=alert(document.domain)>
API calls due to improper input sanitization. An attacker can exploit this vulnerability to execute arbitrary JavaScript code within the target user’s browser, potentially leading to further attacks such as session hijacking.