{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-12732","published":"2026-07-01T08:16:21.487000Z","last_modified":"2026-07-01T13:56:17.493000Z","status":"Deferred","cvss":{"version":"3.1","score":6.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","source":"security@wordfence.com","primary":false},"auth":true,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["thimpress"],"products":["thimpress/learnpress-wordpress-lms-plugin-for-create-and-sell-online-courses"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":38,"links":{"html_es":"/es/cve/CVE-2026-12732/","html_en":"/en/cve/CVE-2026-12732/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-12732","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-12732"},"untrusted":{"vendor_name":"thimpress","product_name":"LearnPress – WordPress LMS Plugin for Create and Sell Online Courses","desc_en":"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.","affected":[{"untrusted_vendor":"thimpress","untrusted_product":"LearnPress – WordPress LMS Plugin for Create and Sell Online Courses","versions":[]}],"references":[{"url":"https://plugins.trac.wordpress.org/browser/learnpress/tags/4.4.0/inc/Shortcodes/Course/FilterCourseShortcode.php#L29","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/learnpress/tags/4.4.0/inc/TemplateHooks/Course/FilterCourseTemplate.php#L98","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3587186%40learnpress&new=3587186%40learnpress&sfp_email=&sfph_mail=","tags":[]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/09c8db69-60fa-4087-9096-5d34ce44f616?source=cve","tags":[]}]}}