Vulnerabilities / Age Gate / WPSEC-2026-2867

Age Gate <= 3.7.3 - Authenticated (Contributor+) Local File Inclusion via Shortcode

High 8.8 CWE-98Fixed in 3.8.0
ID
WPSEC-2026-2867
Plugin
Age Gate (age-gate)
Affected
from 3.0.0 before 3.8.0
Remediation
Update to 3.8.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-98
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-12
Attack surface
Age Gate on WPSec AttackSurface
Fix released
Published

Description

The Age Gate plugin for WordPress is vulnerable to Local File Inclusion via the 'type' attribute of the age-gate shortcode in all versions up to, and including, 3.7.3, due to the attribute value being concatenated into a template include path without validation or restriction to the allowed input types. This makes it possible for authenticated attackers, with contributor-level access and above, to use directory traversal sequences to include and execute arbitrary .php files on the server. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php files can be uploaded or already exist on the server.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0