Bug 2499697 - CVE-2026-52846 caddy: Caddy: Client-side Cross-Site Scripting (XSS) due to incomplete HTML tag stripping [fedora-all]
Summary: CVE-2026-52846 caddy: Caddy: Client-side Cross-Site Scripting (XSS) due to in...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: caddy
Version: 45
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Carl George 🤠
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["9f942824-aad6-4ac0-a6b3-0...
Depends On:
Blocks: CVE-2026-52846
TreeView+ depends on / blocked
 
Reported: 2026-07-13 14:46 UTC by Jon Weiser
Modified: 2026-08-17 15:19 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jon Weiser 2026-07-13 14:46:17 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Caddy is an extensible server platform that uses TLS by default. Prior to 2.11.4, Caddy’s stripHTML template function cannot reliably remove all HTML tags from input strings. Certain malformed HTML, such as <<>img src=x onerror=alert()>, can bypass the tag-stripping logic, potentially leaving dangerous content in the output if it is later rendered as HTML. This may allow client-side XSS in cases where untrusted strings are rendered unsafely. This vulnerability is fixed in 2.11.4.

Comment 1 Aoife Moloney 2026-08-17 15:19:00 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


Note You need to log in before you can comment on or make changes to this bug.