
python script for evaluate if you are vulnerable or not to next.js CVE-2025-29927
This Python script is a comprehensive tool for scanning multiple subdomains to detect Next.js versions and identify potential CVE-2025-29927 vulnerabilities. It provides a detailed analysis of web applications built with Next.js across different subdomains. More info about the CVE: https://nextjs.org/blog/cve-2025-29927
Before using the script, ensure you have the following installed:
subfinder (for subdomain enumeration)dig (DNS lookup utility)host (DNS lookup utility)pip install requests termcolor
git clone https://github.com/yourusername/nextjs-version-checker.git
cd nextjs-version-checker
pip install -r requirements.txt
python next-js-version-checker.py -s example.com
-s or --subdomain: (Required) The main domain to scanThe script provides multiple outputs:
Console Output
Generated Files
example.com_subdomains.txt: List of discovered subdomainsexample.com_nextjs_results.txt: Detailed scan resultsThe script checks for Next.js versions in these vulnerable ranges:
>11.1.4 <=13.5.6>14.0 <14.2.25>15.0 <15.2.3⚠️ Caution:
Contributions are welcome! Please:
feel free to use it
This tool is for educational and authorized security testing purposes only. Unauthorized scanning of systems is unethical and potentially illegal.