CyberRota Analysis
AI-GeneratedVersions of Serendipity from 2.3.5 to 2.6.0 are vulnerable to a reflected cross-site scripting (XSS) flaw in the search clean-URL route, allowing attackers to execute arbitrary JavaScript in users' browsers through specially crafted search links. This vulnerability arises due to improper sanitization of input, where URL-encoded HTML payloads can bypass security measures. Organizations using affected versions should prioritize upgrading to 2.6.1 to mitigate potential exploitation risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Serendipity versions >= 2.3.5 and <= 2.6.0 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.