You're looking for information on a potential exploit in Nicepage 4.16.0. I'll provide a detailed analysis.
in the editor to prevent accidental moving or selection of layers. Editor Improvements
- An attacker crafts an SVG file containing embedded JavaScript (e.g., Cross-Site Scripting payload) or, more critically, a polyglot SVG/XML file that can be interpreted as PHP if the server is misconfigured.
- The attacker sends a POST request to
/wp-admin/admin-ajax.php with the action nicepage_upload_svg and the malicious SVG file.
- Because the plugin does not perform nonce verification or capability checks, an unauthenticated user can trigger the upload.
- The file is stored in
/wp-content/uploads/nicepage_dynamic/ with a .svg extension.
- Execute arbitrary code: An attacker could inject and execute malicious code on the affected system.
- Access sensitive data: An attacker might gain unauthorized access to sensitive data, such as user credentials or configuration files.
To prevent exploitation, I recommend:
The impact of the exploit can be severe, including: