CVE-2023-52430 Details
Description
The caddy-security plugin 1.1.20 for Caddy allows reflected XSS via a GET request to a URL that contains an XSS payload and begins with either a /admin or /settings/mfa/delete/ substring.
A reflected cross-site scripting vulnerability has been identified in the caddy-security plugin for the Caddy web server, specifically in version 1.1.20. This vulnerability allows an attacker to inject an XSS payload into a URL, which is then executed in the context of the user's browser. The issue arises in URLs that include the payload and start with either '/admin' or '/settings/mfa/delete/'.
To address this vulnerability, all string values should be treated as untrusted and properly escaped before being included in the HTML response. The 'safehtml/template' package can be used to generate output-safe HTML. Additionally, the caddy-security documentation should be expanded to promote the use of security headers, particularly the Content Security Policy (CSP) header, which can help mitigate the impact of XSS attacks.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 13, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/ | CVE | Third Party Advisory |
| https://github.com/greenpau/caddy-security/issues/264 | CVE | Issue TrackingVendor Advisory |
| https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/ | [email protected] | Third Party Advisory |
| https://github.com/greenpau/caddy-security/issues/264 | [email protected] | Issue TrackingVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| authcrunch caddy-security | 1.1.20 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| May 6, 2025 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| Oct 16, 2024 | Initial Analysis | [email protected] |
| May 14, 2024 | CVE Modified | [email protected] |
| Feb 12, 2024 | New CVE Received | [email protected] |