When a vulnerability is described as actively exploited, the first job is to work out which part of your stack it touches. Prismic is a hosted headless CMS, so the answer is rarely a single switch. Prismic runs the content backend. You run the front-end application, its npm dependencies, your hosting, and the people and tokens that have access to your repository.
This guide gives you a repeatable process for any such report, whether it names Prismic itself, a package your front end uses, or a service connected to your content.
Split the stack into what you own and what the vendor owns
Before reading any advisory in detail, sort your setup into two groups.
- Run by Prismic: the hosted content repository, the editing interface and the content delivery service. Fixes here are applied by the vendor, not by you.
- Run by you: the framework app you deploy (for example a Next.js or Nuxt project), the Prismic client libraries and other npm packages it depends on, your hosting or edge platform, your build pipeline, and any secrets stored in environment variables.
- Controlled by you inside Prismic: repository users and their roles, API access tokens, and webhooks.
Most actionable work after an exploitation report falls into the second and third groups. If an advisory concerns the hosted service itself, your job is mainly to stay informed, tighten access and watch for anything unusual on your side.
Where authoritative information is published
Treat social media posts and forwarded screenshots as leads, not as proof. Confirm anything you read against primary sources.
- The vendor’s own channels. Start with the Prismic documentation and the vendor’s status and security communications linked from it. Subscribe to any security or status notifications your account offers.
- The CISA Known Exploited Vulnerabilities catalog. The Known Exploited Vulnerabilities catalog is a public list of flaws that have been observed being exploited. If a vulnerability in a component you use appears there, treat it as urgent.
- The National Vulnerability Database. Look up a CVE identifier at nvd.nist.gov to see the affected products, the description and the severity score.
- The package registry and repository of the affected library. For npm packages, the maintainers’ security advisory and your package manager’s audit output tell you which versions are affected and which contain the fix.
A genuine advisory names the affected product, the affected versions and the fixed version or workaround. If a report lacks all three, keep looking before you act on it.
Work out whether you are actually affected
An exploitation report only matters to you if you run the vulnerable component in a reachable way. Check these in order:
- Identify the exact component named in the advisory: a Prismic-hosted feature, a client library, a framework, a build tool or a third-party service.
- Search your project’s lockfile for that package, including indirect dependencies pulled in by other packages.
- Compare the installed version against the affected range in the advisory.
- Check whether the vulnerable feature is actually used. A flaw in a server-side rendering path matters less if your site is fully static, though you should still update.
- Check whether the component is exposed to the internet or only runs at build time.
Write down your findings. A short note listing what you checked, when, and what you decided is useful if anyone asks later.
Patch or disable what you control
Once you know you are affected, move in this order.
Update the dependency. Upgrade the affected package to the fixed version named in the advisory, run your tests, and redeploy. Commit the updated lockfile so the fix reaches every build, not just your laptop. If your project uses an automated dependency update tool, check that it has not been left on an old pinned version.
Apply a workaround if no fix exists yet. Advisories sometimes describe a configuration change or a feature to turn off. Follow the vendor’s wording exactly rather than improvising.
Rebuild and redeploy. On a statically generated or cached site, an updated dependency changes nothing until a new build is deployed and old cached output is cleared. Confirm the new build is the one being served.
Disable what you do not need. Unused webhooks, preview endpoints and old integrations are extra surface. If an advisory involves one of them, switch it off while you investigate.
Rotate secrets and tighten access
When exploitation is reported, assume that any secret reachable from the affected component could have been exposed, and rotate it. This is cheap insurance.
- API access tokens. Review the tokens configured for your Prismic repository, delete any you no longer use, and generate new ones for the rest. Update them in your hosting platform’s environment variables, then redeploy. Check which of your tokens grant access to unpublished content, since those deserve the most care. What your plan lets you configure may vary, so check the documentation.
- Webhooks. Open the webhook settings and confirm every endpoint is one you recognise. An unfamiliar URL, or a shared secret that has not been changed in a long time, is a reason to investigate and replace it.
- Repository users and roles. Remove accounts for people who no longer work on the site. Give each person the lowest role that lets them do their job, and keep the number of administrators small.
- Sign-in security. Require unique passwords and use whatever additional sign-in protection your account supports.
- Hosting and repository credentials. Rotate deploy keys and CI secrets for your code host and hosting platform if the affected component ran in your build or server environment.
Never paste tokens into tickets, chat threads or committed files. Keep them in your platform’s secret storage.
Check for signs of compromise
Patching closes the door; it does not tell you whether someone already came through. Look for evidence in these places.
- Content changes. Review recent document history in your repository for edits you cannot attribute to a team member, especially in fields that render as raw HTML, links or scripts.
- Your live pages. Load key pages and view the source. Look for script tags, iframes or redirects that your code does not produce. Test with a fresh browser profile and on mobile, since some injected code targets specific visitors.
- Build and deploy history. Check your hosting platform for deployments or environment variable changes that nobody on the team made.
- Access logs. Review logs from your hosting or edge provider for unusual requests to API routes, preview endpoints or admin paths, and for unexpected spikes in traffic or errors.
- Dependency changes. Compare your lockfile against version control history. Packages you did not add, or install scripts that changed, are a warning sign.
- Search results. Search for your domain together with unrelated terms to spot spam pages, and check your search console account for security notices.
If you find something suspicious, preserve evidence first by saving logs and screenshots, then restore known-good content and code, rotate every secret again, and contact the vendor’s support with specifics.
Prepare before the next report
Most of the stress in an incident comes from not knowing what you run. Keep a short inventory: your framework, key packages, hosting, who holds which role, which tokens exist and which webhooks fire. Run your package manager’s audit command on a schedule and before each release. The OWASP site is a good general reference for secure handling of dependencies and secrets. Decide in advance who on your team reads advisories and who can approve an emergency deploy.
Frequently asked questions
Does a hosted CMS mean I have nothing to patch?
No. The vendor patches the hosted service, but your front-end application, its dependencies, your hosting setup and your credentials remain your responsibility. Many real-world problems start in that part of the stack.
How do I know if a reported vulnerability is real?
Look for the same information in more than one primary source: the vendor’s own communication, the package maintainers’ advisory, the National Vulnerability Database entry or the CISA catalog. A credible report names the affected product and versions and gives a fixed version or workaround.
Should I rotate tokens even if I find no sign of compromise?
If the affected component could reach your secrets, yes. Rotation takes little time, and it removes the risk that a token was copied without leaving any trace in your logs.