Serendipity 2.3.5 Reflected XSS via search clean-URL route
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.6.1.
Serendipity versions >= 2.3.5 and < 2.6.1 contain a reflected cross-site scripting vulnerability in the search clean-URL route (/search/<term>). In include/functions_routing.inc.php serveSearch(), the sanitisation pipeline runs urldecode() after HTML-encoding, so a single URL-encoded HTML payload survives strip_tags() and htmlspecialchars() and is then decoded back into live HTML in the page. A crafted search link can execute arbitrary JavaScript in the victim's browser. Fixed in 2.6.1.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| s9y | >=2.3.5 <2.6.1 | 2.6.1 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket