WordPress Plugin Vulnerabilities

LearnPress < 4.3.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'skin' Shortcode Attribute

Description

The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'skin' attribute of the learn_press_courses shortcode in all versions up to and including 4.3.3. This is due to insufficient input sanitization and output escaping on the 'skin' shortcode attribute. The attribute value is used directly in an sprintf() call that generates HTML (class attribute and data-layout attribute) without any esc_attr() escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Affects Plugins

Fixed in 4.3.4

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
zaim
Verified
No

Timeline

Publicly Published
2026-04-07 (about 1 month ago)
Added
2026-04-07 (about 1 month ago)
Last Updated
2026-04-08 (about 1 month ago)

Other