Skip to content
All posts

2 min read

Outdated libraries: how Monitor flags code with known security holes

What an outdated code library is, why a known security hole is a business risk, and how Monitor finds one on any page of your site.

Very little of a modern website is written from scratch. Developers borrow ready-made pieces of code, called libraries, for the things every site needs: a menu that folds away on phones, a photo gallery that slides, a form that checks an email address before it’s sent. jQuery is the best known of them.

Libraries get updated like any other software, and sometimes an update closes a security hole that someone found and made public. The old version carries on working perfectly well. That’s exactly why nobody touches it.

Why an old version is a risk

Once a hole in a particular version is public, it’s public to everyone, including people who go looking for websites that still load that version. They don’t need to know anything about your business. They only need your site to have been left as it was.

For a law firm or a dental clinic, the cost isn’t counted in lines of code. It’s a page someone has tampered with, a message from a client who spotted something odd, and an uncomfortable conversation about how long it had been like that. And it’s rarely a library anyone chose on purpose: it usually came in with a theme or a plugin installed years ago and never thought about since.

What Monitor checks

Outdated libraries is one of the four tests in Monitor’s JavaScript group, the group that looks at the code on your pages. On every page, it looks at the popular libraries the page loads, such as jQuery, and flags any version with known security holes.

Because Monitor goes through every page, round after round, it also catches the old copy that only the booking page or a forgotten landing page still loads. When a page isn’t fine, the test lists it, with since when it’s had the problem, and explains in plain words what’s wrong and how it’s fixed. Monitor doesn’t change anything on your site. It tells you where to look.

What to ask your developer

You don’t need to know which version is the safe one. Your developer will. When they say it’s done, press Check again on one of the listed pages: Monitor checks that page for that test straight away, so you can see the fix worked without waiting for the next round.

Until then, send them the PDF report, which has the pages and the technical details, and ask:

  • Which theme or plugin brings this library in?
  • Can it be updated, and could anything on the page change when it is?
  • If it can’t be updated, is that theme or plugin still looked after?
  • Which pages should we look at together once it’s done?