Skip to content
Laskyr

CVE-2026-103310: PayHere Payment Gateway vulnerability

medium 5.3 published 2026-11-02

Fixed in PayHere Payment Gateway 2.4.6 (first release after the affected range)

PayHere Payment Gateway 2.4.0 to 2.4.5 is affected by this security issue. Sites on 2.4.6 or newer are not affected; the latest release is 2.4.6.

Affected versions
2.4.0 to 2.4.5
Fixed in
2.4.6 *
Latest version
2.4.6
Severity
Medium · CVSS 5.3
Active installs
2,000+
Type
Security issue

* The source does not name a fixed version; this is the first wordpress.org release after the last affected version.

What an attacker needs

CVSS vector (score by WPScan): CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What to do now

  1. Update PayHere Payment Gateway to 2.4.6 or newer: Dashboard → Updates, or Plugins → “update now”.
  2. If you cannot update right away, deactivate it until you can.
  3. Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
  4. Not sure which version you run? Check your version against every known PayHere Payment Gateway issue. With WP-CLI: wp plugin get payhere-payment-gateway --field=version.
  5. If you ran an affected version and something looks off (new admin users, spam pages, redirects), run the free scan below.

The advisory

The PayHere Payment Gateway WordPress plugin from 2.4.0 through 2.4.5 does not verify the authenticity of payment notifications when the merchant secret is unset, which is the default state, allowing unauthenticated attackers to forge a payment confirmation and mark any order as paid without payment.

Description from the CVE record, published by WPScan (the CVE Numbering Authority), via the NVD entry for CVE-2026-103310.

References

Related

Ran an affected version? Check your site for signs of a hack

The free scan reads the public side of your site and looks for spam pages, hidden redirects, injected scripts and blacklist entries. No login, no install, about a minute.

Where this data comes from

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit