Skip to content
Laskyr

Plugins · age-gate · data as of 2026-11-29

Is Age Gate safe? Known vulnerabilities and latest version

No known unpatched vulnerabilities in the latest version (3.8.1)

As of 2026-11-29. 3 issues are on record for older versions; version 3.6.0 or newer fixes all of them that state a fix.

Latest version
3.8.1
Last updated
2026-11-10
Active installs
40,000+
Known issues on record
3
Unpatched in latest
0
Tested up to WP
7.1.5 · PHP 8.3+

A plugin to check the age of a visitor before view site or specified content — by Phil

What to do

  1. Update to the latest version (3.8.1). Anything older than 3.6.0 has at least one known issue listed below. 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. If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan. Already hacked? We clean it for a flat $499 with a 30-day reinfection guarantee.

With WP-CLI: wp plugin get age-gate --field=version shows what you run; wp plugin update age-gate updates it.

Check your version

Running more than one plugin? Paste your whole plugin list and check them all at once.

Known vulnerabilities

3 on record, newest first. Versions come from the source; * marks the first wordpress.org release after the last affected version.

medium 5.3 CVE-2025-31012 · published 2025-04-09

Missing authorization check in Age Gate (3.5.4 and older)

Affected
3.5.4 and older
Fixed in
3.6.0
Access needed (per CVSS)
No login needed
Range from
CVE record · score by Patchstack
Details from the advisory

Missing Authorization vulnerability in Phil Age Gate age-gate allows Accessing Functionality Not Properly Constrained by ACLs.This issue affects Age Gate: from n/a through <= 3.5.4.

NVD CVE-2025-31012Patchstack advisory

critical 9.8 CVE-2025-2505 · published 2025-03-20

File inclusion in Age Gate (3.5.3 and older)

Affected
3.5.3 and older
Fixed in
3.5.4 *
Access needed (per CVSS)
No login needed
Range from
CVE record · score by Wordfence
Details from the advisory

The Age Gate plugin for WordPress is vulnerable to Local PHP File Inclusion in all versions up to, and including, 3.5.3 via the 'lang' parameter. This makes it possible for unauthenticated attackers to include and execute arbitrary PHP files on the server, allowing the execution of code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.

NVD CVE-2025-2505Wordfence advisoryCode change (fix)Plugin source

medium 6.1 CVE-2021-36901 · published 2022-06-15

Stored cross-site scripting (XSS) in Age Gate (2.17.0 and older)

Affected
2.17.0 and older
Fixed in
2.17.1 *
Access needed (per CVSS)
No login needed; someone on the site has to click a link or open a page
Range from
CVE record · score by NVD
Details from the advisory

Unauthenticated Stored Cross-Site Scripting (XSS) vulnerability in Phil Baker's Age Gate plugin <= 2.17.0 at WordPress.

NVD CVE-2021-36901Patchstack advisorywordpress.org

Recent activity

Browse vulnerabilities

Questions about Age Gate

Is Age Gate safe to use?

No known unpatched vulnerabilities in the latest version (3.8.1). As of 2026-11-29. 3 issues are on record for older versions; version 3.6.0 or newer fixes all of them that state a fix. Laskyr does not give safety verdicts. Keep Age Gate on the latest version (3.8.1) and remove it if you do not use it.

Which versions of Age Gate are vulnerable?

Known issues on record (newest first): Missing authorization check (3.5.4 and older, fixed in 3.6.0); File inclusion (3.5.3 and older, fixed in 3.5.4); Stored cross-site scripting (XSS) (2.17.0 and older, fixed in 2.17.1). The full list with sources is on this page.

What is the latest version of Age Gate?

3.8.1, according to wordpress.org (last updated 2026-11-10). It has 40,000+ active installs.

What should I do if my Age Gate is out of date?

Take a backup, then update it from Dashboard > Updates (or run wp plugin update age-gate). If you cannot update right away, deactivate it until you can. If you think the site was already attacked, run a free scan at https://laskyr.com/scan.

Where this data comes from

Badge for your site or docs (states facts with a date, not a verdict):
Age Gate vulnerability status badge
<a href="https://laskyr.com/plugins/age-gate"><img src="https://laskyr.com/plugins/age-gate/badge.svg" alt="Age Gate vulnerability status"></a>

← Check another plugin · Free hacked-site scan

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

The box is optional and does not affect the kit. Privacy policy.