CVE Explorer
CVE-2026-12732
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() han
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"LearnPress – WordPress LMS Plugin for Create and Sell Online Courses","vendor":"thimpress","versions":[{"lessThanOrEqual":"4.4.0","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:561d550000971a52f6a8cc69830c0a86f9b55871e86843ff1c2ec4ef9f2ed09a · sha256:99c0b87c418656bf… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":6.4,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:561d550000971a52f6a8cc69830c0a86f9b55871e86843ff1c2ec4ef9f2ed09a · sha256:99c0b87c418656bf… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:561d550000971a52f6a8cc69830c0a86f9b55871e86843ff1c2ec4ef9f2ed09a · sha256:99c0b87c418656bf… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"url":"https://plugins.trac.wordpress.org/browser/learnpress/tags/4.4.0/inc/Shortcodes/Course/FilterCourseShortcode.php#L29"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:561d550000971a52f6a8cc69830c0a86f9b55871e86843ff1c2ec4ef9f2ed09a · sha256:99c0b87c418656bf… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/browser/learnpress/tags/4.4.0/inc/TemplateHooks/Course/FilterCourseTemplate.php#L98"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:561d550000971a52f6a8cc69830c0a86f9b55871e86843ff1c2ec4ef9f2ed09a · sha256:99c0b87c418656bf… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3587186%40learnpress&new=3587186%40learnpress&sfp_email=&sfph_mail="}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:561d550000971a52f6a8cc69830c0a86f9b55871e86843ff1c2ec4ef9f2ed09a · sha256:99c0b87c418656bf… · /containers/cna/references/3
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/09c8db69-60fa-4087-9096-5d34ce44f616?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:561d550000971a52f6a8cc69830c0a86f9b55871e86843ff1c2ec4ef9f2ed09a · sha256:99c0b87c418656bf… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.