Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-12732: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in thimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses

0
Medium
VulnerabilityCVE-2026-12732cvecve-2026-12732cwe-79
Published: 07/01/2026 (07/01/2026, 07:53:36 UTC)
Source: CVE Database V5
Vendor/Project: thimpress
Product: LearnPress – WordPress LMS Plugin for Create and Sell Online Courses

Description

LearnPress WordPress LMS plugin versions up to and including 4.4.0 are vulnerable to stored cross-site scripting (XSS) via the 'class_wrapper_form' shortcode attribute. The vulnerability arises from improper input sanitization and output escaping, allowing authenticated users with contributor-level access or higher to inject malicious scripts that execute when other users view the affected pages.

CVSS v3.1

Score 6.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Affected software

Affected versions
<=4.4.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/01/2026, 08:22:07 UTC

Technical Analysis

CVE-2026-12732 is a stored cross-site scripting vulnerability in the LearnPress WordPress LMS plugin (up to version 4.4.0). The issue occurs because the 'class_wrapper_form' shortcode attribute is inserted directly into an HTML class attribute without proper escaping (missing esc_attr()), specifically in the FilterCourseTemplate::sections() method. Additionally, the FilterCourseShortcode::render() handler does not filter shortcode attributes, allowing raw user input to flow into the template. This enables authenticated attackers with contributor-level permissions or higher to inject arbitrary JavaScript that executes in the context of users viewing the injected pages.

Potential Impact

An attacker with contributor-level or higher access can inject persistent malicious scripts into pages via the vulnerable shortcode attribute. These scripts execute in the browsers of users who visit the affected pages, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability does not impact availability but affects confidentiality and integrity of user sessions and data.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and avoid using the vulnerable shortcode attribute. Monitor vendor channels for updates and apply official patches promptly once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-06-19T16:03:58.190Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a44ca9927e9c797192facec

Added to database: 07/01/2026, 08:06:49 UTC

Last enriched: 07/01/2026, 08:22:07 UTC

Last updated: 07/01/2026, 09:40:49 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses