PT-2026-26068 · WordPress · Code Embed
CVSS v3.1
6.4
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Code Embed versions prior to 2.5.2
Description
Stored Cross-Site Scripting occurs via custom field meta values. The issue arises because the sanitization function
sec check post fields() only executes during the save post hook, whereas the wp ajax add meta AJAX endpoint allows the addition of custom fields without triggering that hook. Subsequently, the ce filter() function outputs these unsanitized meta values directly into page content without escaping. This allows authenticated attackers with Contributor-level access or higher to inject arbitrary web scripts that execute when a user visits the affected page.Recommendations
Update to version 2.5.2 or later.
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Code Embed