Read the docs
TI-2024-14253 Aliases CVE-2024-21496GHSA-ff72-ff42-c3gw

Cross-site scripting in github.com/greenpau/caddy-security

Priority LOW 28CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00576 47th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—github.com/greenpau/caddy-securityall versions—No fix listedCNA
—github.com/greenpau/caddy-security (Go)up to 1.1.23—No fix listedGHSA-ff72-ff42-c3gw
  • github.com/greenpau/caddy-security Vendor— Affected all versions Fixed in — No fix listed CNA
  • github.com/greenpau/caddy-security (Go) Vendor— Affected up to 1.1.23 Fixed in — No fix listed GHSA-ff72-ff42-c3gw

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:authcrunch:caddy-security:-:*:*:*:*:*:*:*not specified by NVDVulnerableAuthcrunch
  • cpe:2.3:a:authcrunch:caddy-security:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Authcrunch

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-21496
  2. 2026-10-03 Alias added: GHSA-ff72-ff42-c3gw

References

  • TI-2023-28778 The caddy-security plugin 1.1.20 for Caddy allows reflected XSS via a GET request to a… CVSS 3.1MEDIUM 6.1
  • TI-2024-14249 Insufficient session expiration in github.com/greenpau/caddy-security CVSS 3.1HIGH 8.1
  • TI-2024-14255 Server-side request forgery in github.com/greenpau/caddy-security CVSS 3.1MEDIUM 5.3
  • TI-2024-14257 Missing brute-force protection in github.com/greenpau/caddy-security CVSS 3.1MEDIUM 6.5

Sources