Start by confirming the report is real and applies to you
When a warning about an actively exploited Strapi flaw reaches you through social media, a chat group or a forwarded email, treat it as a lead and not as proof. Your first job is to find the primary source and check whether your project is affected.
Two kinds of component can be involved, and you need to know which one the report names:
- Strapi core, meaning the framework packages your project installs from npm.
- A plugin or add-on, either an official one or a community package, which is also an npm dependency of your project.
- The runtime underneath, which is Node.js and the server or container it runs in.
Open your project’s package.json and lockfile and note which Strapi packages and plugins you actually use. A vulnerability in a plugin you never installed is not your emergency. A vulnerability in something you do run is.
Where authoritative information is published
Go to sources that can be checked, in roughly this order:
- The vendor’s own channels. Strapi publishes its documentation, release information and security guidance through its official site and documentation. Release notes and security advisories for the open-source project are also tracked in its public code repository, so check there for the advisory that matches the report.
- The plugin’s own page. For a community plugin, the maintainer’s package page and repository are the authority on whether a fixed release exists.
- CISA’s Known Exploited Vulnerabilities catalog. The U.S. government’s Known Exploited Vulnerabilities catalog is a public list of flaws with evidence of exploitation. It is useful as a prioritisation signal, but it does not list everything, so a vulnerability’s absence from it does not mean the flaw is safe to ignore.
- The National Vulnerability Database. NVD lets you look up a CVE identifier and read the description, affected products and references.
If you cannot find the claim in the vendor’s advisories or in a recognised public database, hold off on drastic changes and keep watching. If you can, move on to the next step.
Decide how urgent it is
Not every exploited vulnerability puts your site at the same level of risk. Ask these questions about the advisory:
- Does it need authentication, or can an anonymous visitor trigger it?
- Does it affect the admin panel, the public API, or both?
- Does it depend on a specific configuration, plugin or database setup that you do not use?
- Is a fixed release available, or only a workaround?
A flaw that an unauthenticated visitor can reach on your public API, with a patch available, goes to the top of the list. A flaw that needs an admin login you have already locked down can wait for your normal maintenance window, though not for long.
Patch, or reduce exposure while you wait
How you patch depends on where your project is hosted.
On Strapi Cloud, the platform side is managed by the vendor, but your own project code, plugins and dependencies are still yours to update. Check what the vendor’s advisory says about which part you need to act on.
If you self-host, you are responsible for the whole stack: Strapi, plugins, Node.js, the operating system and the web server in front of it. Work through this sequence:
- Back up first. Take a database backup and copy your uploads and your project files. Strapi also ships data export and import tooling, but a database backup from your hosting or database provider is the safer baseline.
- Apply the fix in staging. Update the affected package to the fixed release named in the advisory, following the upgrade guidance in the documentation. Run your content types, custom code and plugins through a quick smoke test.
- Deploy to production and confirm the admin panel and the public API both respond correctly.
- Run a dependency audit. A command such as
npm auditwill flag known-vulnerable packages in your tree, including ones you did not choose directly.
If no fix exists yet, reduce the attack surface instead:
- Disable or uninstall the affected plugin if the site can live without it for now.
- Restrict the admin panel to known IP addresses, or put it behind a VPN or an access proxy, if your hosting setup allows it.
- Tighten the public API permissions so the Public role can only reach the content types and actions it really needs.
- Use a firewall or reverse-proxy rule to block the affected route if the advisory names one.
Check whether you were already compromised
Patching closes the door but does not tell you whether someone has already walked through it. If the flaw was public and exploited before you updated, inspect the project. These checks work on any self-hosted setup:
- Admin users. Open the admin panel’s user list and look for accounts you do not recognise, or accounts with Super Admin rights that should not have them.
- API tokens. Review the API tokens in the admin settings. Delete any you cannot account for, and rotate the ones you keep.
- Roles and permissions. Check that the Public and Authenticated roles in the Users & Permissions plugin have not been widened beyond what you set.
- Content. Scan for entries that were changed or created unexpectedly, especially fields that hold HTML, links or embedded code.
- Files. Compare your project directory and uploads folder against your repository or last known-good backup. New or modified files in unexpected places are a red flag.
- Logs. Check web server, reverse proxy and application logs for unusual requests to the admin routes or the API, repeated failed logins, or odd traffic from a single address.
- Server activity. Look for processes, scheduled tasks or outbound connections you did not set up.
Some audit-logging features in the admin panel depend on your plan, so do not count on having a built-in activity trail. Your server and proxy logs are the dependable record.
If you find signs of compromise
Work calmly and in order:
- Take the site offline or block public access while you investigate, if you can.
- Keep a copy of the logs and the affected files before you change anything.
- Rotate every secret the project holds: admin passwords, API tokens, the application keys and secrets in your environment configuration, database credentials and any third-party service keys.
- Restore from a backup taken before the intrusion, or rebuild from a clean repository, then apply the patch before bringing it back online.
- Check your hosting account and any connected services for changes made with the stolen credentials.
If personal data may have been exposed, find out which notification obligations apply to your business and where your users live.
Make the next response faster
A little preparation turns a stressful scramble into a routine task. Keep a short inventory of your Strapi version, plugins and Node.js runtime. Commit your lockfile. Have a staging copy that mirrors production. Subscribe to the vendor’s release announcements and the repository’s security advisories. For a broader baseline of what to defend against in a web application, the OWASP Top Ten is a stable reference.
Frequently asked questions
How do I know which Strapi version I am running?
Check the Strapi packages listed in your project’s package.json, and the exact installed versions in the lockfile. The admin panel may also show version details in its settings area. Compare what you find with the affected and fixed releases in the vendor’s advisory.
Is Strapi Cloud affected the same way as a self-hosted project?
Not necessarily. On Strapi Cloud the vendor manages the hosting platform, while your own code, plugins and dependencies remain yours. Read the advisory to see which layer is affected and whether the fix is something you must apply yourself.
Does an exploited vulnerability mean I have been hacked?
No. It means attackers are known to use the flaw against unpatched systems. Your risk depends on whether you run the affected component, whether it was reachable, and how long it stayed unpatched. Patch first, then run the compromise checks above to be sure.