PT-2024-15725 · WordPress · Insert Php Code Snippet
Felipe Restrepo Rodriguez
+1
·
Published
2024-02-20
·
Updated
2024-02-29
·
CVE-2024-0658
CVSS v3.1
4.8
Medium
| Vector | AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Insert PHP Code Snippet plugin for WordPress versions up to, and including, 1.3.4
Description
The issue allows for Stored Cross-Site Scripting via the user's name when accessing the "insert-php-code-snippet-manage" page due to insufficient input sanitization and output escaping. This enables authenticated attackers with administrator-level access to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The issue only affects multi-site installations and installations where unfiltered html has been disabled.
Recommendations
For Insert PHP Code Snippet plugin for WordPress versions up to, and including, 1.3.4, update to a version later than 1.3.4 to resolve the issue.
As a temporary workaround, consider restricting access to the insert-php-code-snippet-manage page to minimize the risk of exploitation.
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Insert Php Code Snippet