Home

Description

The King Addons for Elementor plugin for WordPress is vulnerable to multiple Contributor+ DOM-Based Stored Cross-Site Scripting vulnerabilities in all versions up to, and including, 51.1.38. This is due to insufficient input sanitization and output escaping across multiple widgets and features. The plugin uses esc_attr() and esc_url() within JavaScript inline event handlers (onclick attributes), which allows HTML entities to be decoded by the DOM, enabling attackers to break out of the JavaScript context. Additionally, several JavaScript files use unsafe DOM manipulation methods (template literals, .html(), and window.location.href with unvalidated URLs) with user-controlled data. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts via Elementor widget settings that execute when a user accesses the injected page or when an administrator previews the page in Elementor's editor. The vulnerability was partially patched in version 5.1.51.

PUBLISHED Reserved 2025-11-21 | Published 2026-04-01 | Updated 2026-04-08 | Assigner Wordfence




MEDIUM: 6.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Problem types

CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

Default status
unaffected

Any version
affected

Timeline

2026-03-31:Disclosed

Credits

Craig Smith finder

References

www.wordfence.com/...-612d-436c-9d32-6228d7dcbf35?source=cve

plugins.trac.wordpress.org/...s/lightgallery/lightgallery.js

plugins.trac.wordpress.org/...ts/Video_Popup/Video_Popup.php

plugins.trac.wordpress.org/...Content/Off_Canvas_Content.php

plugins.trac.wordpress.org/...cludes/widgets/Popup/Popup.php

plugins.trac.wordpress.org/.../Wrapper_Link/Wrapper_Link.php

plugins.trac.wordpress.org/...culator/Pricing_Calculator.php

plugins.trac.wordpress.org/...es/widgets/Countdown/script.js

plugins.trac.wordpress.org/...gets/Image_Accordion/script.js

plugins.trac.wordpress.org/changeset/3438067/

plugins.trac.wordpress.org/changeset/3441952/

cve.org (CVE-2025-13535)

nvd.nist.gov (CVE-2025-13535)

Download JSON