WordPress High · CVSS 7.1 CVE-2026-12970 July 20, 2026

LearnPress WordPress: cross-site scripting (XSS)

LearnPress WordPress

Cross-site scripting (XSS) in the LearnPress WordPress component. Threat level: High (CVSS 7.1).

Worried this flaw is on your site? Check it for free in under a minute, or have us fix and secure it right away.

Who is affected

This vulnerability affects: LearnPress WordPress. If you use this component on your site, check the version and update it as soon as possible.

How dangerous

Rating: High, CVSS 7.1 out of 10. It is worth acting before the flaw is exploited.

What this flaw is

Cross-site scripting (XSS) lets an attacker inject foreign JavaScript into the page, which runs in the browser of a visitor or a logged-in administrator.

The attacker can hijack the session, replace content, or steal data from forms. "Stored" variants are more dangerous, because the code is saved permanently and hits everyone who opens the infected page.

Score breakdown (CVSS vector)

What the CVSS 7.1 rating means in practice:

  • The attack can be carried out remotely, over the internet.
  • No login or account required.
  • Requires user action (e.g. clicking a link).
  • The impact may reach beyond the vulnerable component itself.
  • At risk: data confidentiality, integrity (data can be altered), site availability.

Weakness class: CWE-79.

What to do

  • Update the vulnerable component (LearnPress WordPress) to the latest version.
  • If a patch is not out yet, temporarily disable the vulnerable element.
  • Check whether the site has already been attacked: unusual files, new administrator accounts, redirects.
  • Make a backup before you start making changes.
Do not guess, check

Does this flaw affect your site?

We will run a free audit: we check versions, plugins, and configuration, and tell you plainly whether you are safe.

Request a free audit →

Other current WordPress threats

MemberDash: security vulnerability CVE-2026-16310 · Critical HivePress Authentication: authentication bypass CVE-2026-18056 · High Frontend Admin by DynamiApps: authentication bypass CVE-2026-75816 · Critical SureCart WordPress: security vulnerability CVE-2026-18480 · High See the full list →