How often should you test your website for vulnerabilities?
A yearly test tells you how the site looked on one day. Here is a testing schedule built on three triggers: the calendar, your own changes and newly exploited vulnerabilities, plus what PCI DSS requires if you take card payments.
Offensly Team··3 min read
The last penetration test was in March. Since then the site got a new plugin, a payment provider changed its script, and a vulnerability in your CMS made the news. The March report still says "no critical findings". It describes a site that no longer exists.
How often to test depends less on a number and more on three triggers. Use all three.
Three triggers for a test
| Trigger | What to run | Why |
|---|---|---|
| The calendar | Automated test every month; manual penetration test once a year | Known vulnerabilities in your components are published continuously |
| Your own change | Automated test after every significant release; manual test after a major redesign, new login or payment flow | New code and new components bring new weaknesses |
| News | Check within days when a component you run appears in a list of exploited vulnerabilities | Attackers scan for these first |
For the third trigger, the US cybersecurity agency CISA keeps a public Known Exploited Vulnerabilities catalog of flaws seen in real attacks. If your CMS, web server or framework appears there, do not wait for the next scheduled test.
What PCI DSS and customers require
Most companies have no rule that forces a schedule. Card payments are the main exception. PCI DSS requires external vulnerability scans at least once every three months, performed by an Approved Scanning Vendor (PCI SSC ASV Resource Guide), and penetration tests at least once every 12 months and after significant changes (requirement 11.4 in the PCI DSS document library). An ordinary automated test does not count as an ASV scan, so if you are in scope for PCI DSS, use an approved vendor for that part.
Customers set their own rules too. Security questionnaires usually ask for a test not older than 12 months. That is the minimum for passing review, not a sign the site is safe for the other eleven; the article on what to send when a customer asks for your pentest report covers that request.
Why one yearly test leaves a gap
A yearly manual test is the expensive part, and it is still worth having for the depth a specialist brings. Monthly automated testing costs much less and covers the months in between: it catches outdated components, weak TLS, missing headers and exposed files soon after they appear, and leaves a dated record for every month.
Build your testing calendar
- List what faces the internet. Domains, subdomains, the CMS and its plugins, frameworks, the web server. You cannot test or watch what is not on the list.
- Schedule automated tests monthly. Pick a quiet time of day, and tell your hosting provider if their terms require notice of security testing.
- Book the manual test. Once a year, and before a launch that adds login, payments or a new API.
- Tie tests to releases. Add "run the automated test" to the release checklist for significant changes.
- Watch the exploited-vulnerabilities list for the components on your list, or subscribe to the security notices of the products you run.
- Retest after fixes. A finding counts as closed when the next test no longer shows it, not when the ticket is closed.
Check whether your schedule works
Look at the last 12 months. You should be able to show a test result for each month, a test after each major release, and a retest for every critical or high finding. If the newest result is older than your last significant release, the next test is already due.
Offensly tests verified websites every month and shows which findings are new, which are fixed and which came back since the last run. Each test comes with a timestamped proof of permission.
Check your own domain in seconds
The free check reads your SPF, DKIM, DMARC and MX records and tells you exactly what to fix. No sign-up.