CVE-2026-12732
Last modified
CVE-2026-12732 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. The LearnPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'class_wrapper_form' shortcode attribute in versions up to, and including, 4.4.0. This is due to insufficient input sanitization and output escaping in the FilterCourseTemplate::sections() method at line 98, where the attacker-controlled attribute is inserted into an HTML class attribute via sprintf('<form class="%s">', $class_wrapper_form) without esc_attr() escaping. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
The LearnPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'class_wrapper_form' shortcode attribute in versions up to, and including, 4.4.0. This is due to insufficient input sanitization and output escaping in the FilterCourseTemplate::sections() method at line 98, where the attacker-controlled attribute is inserted into an HTML class attribute via sprintf('<form class="%s">', $class_wrapper_form) without esc_attr() escaping. The FilterCourseShortcode::render() handler does not apply shortcode_atts() filtering, so raw user attributes flow directly through do_action('learn-press/filter-courses/layout', $data) into the template. 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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| thimpress | LearnPress – WordPress LMS Plugin for Create and Sell Online Courses | <= 4.4.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-12732?
How severe is CVE-2026-12732?
How do I fix CVE-2026-12732?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12725A heap-based buffer overflow was found in dnsmasq. When DNSS…5.9
- CVE-2026-12726A flaw was found in the AWX GitHub webhook integration. When…6.3
- CVE-2026-12729The weDocs: AI Powered Knowledge Base, Docs, Documentation, …4.3
- CVE-2026-1273The Post Grid Gutenberg Blocks for News, Magazines, Blog Web…7.2
- CVE-2026-12730IBM Business Automation Workflow containers and traditional …3.8
- CVE-2026-12731The weDocs: AI Powered Knowledge Base, Docs, Documentation, …6.4
- CVE-2026-12733IBM DataPower Gateway could allow a remote attacker to cause…7.5
- CVE-2026-12734The weDocs: AI Powered Knowledge Base, Docs, Documentation, …6.4
- CVE-2026-12736The Wpify Woo plugin for WordPress is vulnerable to Privileg…8
- CVE-2026-12738The WP Easy Pay – Payment and Donation form Builder for Squa…4.3
- CVE-2026-1274IBM Guardium Data Protection 12.0, 12.1, and 12.2 is vulnera…4.9
- CVE-2026-12740Plack::Middleware::OAuth versions through 0.10 for Perl do n…8.1
Are you affected by CVE-2026-12732?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
