CVE-2021-24495
WordPress vulnerability analysis and mitigation

Overview

The Marmoset Viewer WordPress plugin before version 1.9.3 contains a reflected Cross-Site Scripting (XSS) vulnerability identified as CVE-2021-24495. The vulnerability was discovered in July 2021 and affects the plugin's handling of the 'id' parameter, which is not properly sanitized, validated, or escaped before being output back in the page (WPScan, MITRE).

Technical details

The vulnerability exists in the mviewer.php file where the 'id' parameter is processed without proper input validation. The issue was initially patched in version 1.9.2, but a bypass was discovered that worked on versions 1.9.2 and below. The vulnerability has a CVSS score of 7.1 (high) and is classified as CWE-79. Two proof-of-concept exploits were identified: one using SVG-based XSS payload and another utilizing the marmoset.embed function (John Blog).

Impact

The vulnerability allows attackers to execute malicious scripts in victims' browsers, potentially leading to cookie theft, credential stealing, and account takeover. Since the browser considers the script as coming from a trusted source, it can access sensitive information including session tokens and other browser-retained data specific to the site (John Blog).

Mitigation and workarounds

The vulnerability was fully patched in version 1.9.3 of the Marmoset Viewer plugin. The fix included implementing PHP sanitization filters on the 'id' parameter and modifying the marmoset.embed function to use htmlentities PHP function with expanded character sanitization using FilterSanitizeURL function instead of FullSpecialChars (John Blog).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-9873MEDIUM6.4
  • a3-lazy-load
NoYesDec 13, 2025
CVE-2025-9856MEDIUM6.4
  • popup-builder
NoYesDec 13, 2025
CVE-2025-9488MEDIUM6.4
  • redux-framework
NoYesDec 13, 2025
CVE-2025-9207MEDIUM5.3
  • ti-woocommerce-wishlist
NoYesDec 13, 2025
CVE-2025-9218LOW3.7
  • buddypress-media
NoYesDec 13, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management