CVE-2026-5097: wpForo SQL injection via referer parameter

CVE-2026-5097 · Severity: high · CVSS 7.5 · Published 2026-08-28

wpForo is a popular forum plugin for WordPress used to add discussion and community features to websites. This vulnerability allows unauthenticated attackers to inject malicious SQL commands through the referer parameter, potentially exposing sensitive database information including user credentials, private messages, and other confidential data stored in the forum database.

Vendors: wpForo.

Quick answers

Is CVE-2026-5097 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-5097 being exploited in the wild.
How severe is CVE-2026-5097?
High severity, with a CVSS score of 7.5, published 28 August 2026.
Which products and versions are affected?
wpForo up to and including 2.4.17.
Is there a fix for CVE-2026-5097?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-5097 attacked?
It is attacked over the network.
Am I affected by CVE-2026-5097?
Check whether you run wpForo at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

This is a SQL injection vulnerability in the wpForo plugin caused by insufficient input escaping and lack of prepared statement usage on the 'referer' parameter. The vulnerability is network-accessible without authentication requirements, allowing any remote attacker to craft malicious SQL queries. An attacker can append arbitrary SQL commands to extract sensitive information from the WordPress database. The vulnerability affects all versions up to and including 2.4.17.

Affected products

  • wpForo wpForo up to and including 2.4.17

Timeline

  • 2026-08-28: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.