CyberRota Analysis
AI-GeneratedApostropheCMS versions prior to 2.17.6 are vulnerable to an issue in the sanitizeHtml() function that allows disallowed executable markup to be processed, potentially leading to cross-site scripting (XSS) attacks. This vulnerability arises when certain tags, like textarea or xmp, are included in the allowedTags configuration, enabling attackers to inject malicious scripts that execute in a user's browser. Organizations using affected versions should prioritize upgrading to 2.17.6 or later to mitigate this security risk.
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
ApostropheCMS is an open-source Node.js content management system. Prior to 2.17.6, sanitizeHtml() can pass disallowed executable markup through packages/sanitize-html/index.js when textarea or xmp is included in allowedTags because a literal solidus after the raw-text end-tag name is treated as text by htmlparser2 and the ontext handler emits that content without escaping, while a browser parses the following img onerror markup as active HTML. This issue is fixed in version 2.17.6.