Drupal security updates, in plain English · Module

Colorbox

125,407 sites report using it · on drupal.org · 1 security update explained here

This module displays content in a box that appears over the top of the current page.

Below is every security update for Colorbox that this site has covered, newest first. Each one says who could exploit it, whether it applies to your site, how urgent it is, and what to tell your developer. If your site uses this module and you are not sure which version, that is the first question to ask whoever looks after it.

Colorbox

Moderately critical · 125,407 sites report using it · SA-CONTRIB-2026-069 · on drupal.org · Week of 1 July 2026

A person with an account could add hidden code to the site. This code could allow them to see private information or modify existing content.

  • Who could do thisOnly someone with a login on your site.
  • Does it apply to youThis applies if a user has an access right that allows them to enter HTML content.
  • Has it been used in attacksNo sign of it.
  • How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.

Tell your developerUpdate Colorbox to 2.1.5 or 2.2.1, whichever branch you are on.

For developers: what the fix changed

The fix in js/colorbox.js deletes dangerous data attributes cboxCreateiframe and cboxCreateimg and sanitises cboxImgAttrs by restricting it to a safe list of attributes and aria attributes.

2.1.4 to 2.1.5 1 commit, 1 file.

  • js/colorbox.js +41 −0 fix

Full diff, 2.1.4 to 2.1.5 · Full diff, 2.2.0 to 2.2.1

The comparison is against the release immediately before the fix. If your site is on an older release, more will have changed.

Not sure what your site is running?

Send me your Drupal site's address.

I'll tell you what I can see from outside, what the Drupal 10 end of life on 9 December means for it, and what it would cost to have me keep it patched. There's no charge for that and no obligation. peter@peterbrady.co.uk


Get in touch

Tell me who you are, what your organisation does, and what you need. That might be a Drupal site that needs looking after, an upgrade to get done before December, or an agency that needs Drupal cover.

If I can help, I'll say so and suggest a call. If I can't, I'll tell you straight away rather than waste your time.

peter@peterbrady.co.uk

For context: I work mainly with UK charities, membership bodies and research organisations, and with the agencies that look after their websites. Not recruiters.

Or start smaller and connect with me on LinkedIn. That's where I post what I find digging around in charity and grants data, and where the free tools turn up first.