We build and maintain WordPress and PHP sites for clients. Our maintenance work combines an understanding of each site's components with vulnerability information, code review and checks after changes. A scanner's result is a starting point for investigation, rather than a complete assessment of a site's security.
1. Keep an asset inventory
For each site, we maintain a record of the PHP version, WordPress core version, installed plugins and themes, and custom code. We use this inventory to determine whether a new advisory applies to that environment. Unused components also need attention: a disabled plugin can still leave files on the server.
2. Follow vulnerability information
We combine several sources of information:
- Vulnerability databases and advisories. WPScan and Wordfence provide information about vulnerable WordPress components. PHP's official release announcements identify fixes in the runtime.
- Scanning. We use WPScan and Wordfence as part of regular checks and update verification. Tool findings are checked against the site's actual versions and configuration.
- Vendor release notes. We read WordPress, PHP and component release notes alongside scanner results, including any compatibility requirements that affect a safe update.
Checks are carried out with the client's permission and within the agreed scope. Hosting conditions and the site's configuration determine which checks are appropriate.
3. Prioritise the findings
We ask whether the affected component is present, whether the vulnerable code can be reached, what access an attacker would need and what the impact could be. We also consider evidence of active exploitation and the availability of a fix.
A reachable issue that is being actively exploited receives urgent attention. Lower-risk changes can be coordinated with a maintenance window. An administrator-only path is not automatically harmless: it still needs to be assessed against the permissions and actions involved.
4. Choose a remediation
- Update. Apply a patched version after checking it in a staging environment. Prepare a backup and a way to restore the previous state, and verify important site functions before and after the change.
- Replace. If an abandoned plugin has no suitable fix, consider a maintained alternative or an implementation that can be maintained in-house.
- Fix custom code. For our own plugins and themes, address the cause in the code. This can involve context-appropriate output escaping, request verification and permission checks, or replacing unsafe legacy patterns.
Our companion article describes XSS, CSRF and legacy PHP remediation in an in-house WordPress plugin.
5. Verify the change
After remediation, we update the inventory and repeat the relevant checks. For a version-related finding, we confirm that the patched version is actually installed. For a code fix, we retest the affected behaviour in an authorised environment and check that legitimate use still works.
A clean scan does not establish that a site has no vulnerabilities. We consider scanner output together with code review, manual verification and the limits of the test scope.
6. Use several layers of protection
Updates are one layer. We combine them with controls appropriate to the environment, such as a web application firewall (WAF), restrictions on administrative access, strong authentication, two-factor authentication for privileged accounts, and removal of unnecessary exposed services.
These controls reduce risk in different ways. A WAF can help filter attack traffic, but it does not replace a code fix. Access restrictions reduce exposure, but they do not remove the need to maintain the application.
Why we publish this
We want clients to understand what maintenance involves and small development teams to have a practical process they can adapt. The useful cycle is simple: know what is running, identify relevant issues, make a controlled change and verify the result.
Technical references
FROM PRACTICE TO SUPPORT
Cybersecurity at 創遊株式会社
We work exclusively by referral. To learn about our penetration testing work, agreed testing conditions and reporting, visit our service overview.
Cybersecurity services (Japanese)