CVE-2025-22622 Age Verification - Reflected cross-site scripting (XSS)
Reflected XSS in Age Verification plugin allows attackers to inject scripts via unvalidated input, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-22622?
CVE-2025-22622 is a medium-severity cross-site scripting vulnerability in Age Verification, published on 19 Feb 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Age Verification for your checkout page. Verify your customer's identity 1.20.0 was found to be vulnerable. The web application dynamically generates web content without validating the source of the potentially untrusted data in myapp/class-wc-integration-agechecker-integration.php.
Weakness: CWE-79
Which versions are affected by CVE-2025-22622?
How do I fix CVE-2025-22622?
No fix has been published for CVE-2025-22622 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-22622 being exploited?
There is no known exploitation of CVE-2025-22622 in the wild and no public exploit code.
Sources
Also known as GHSA-whg9-m2vx-fwf2.