Drupal security updates, in plain English · Module

CSP log

3,258 sites report using it · on drupal.org · 1 security update explained here

This module collects and displays reports about security policy errors on the website.

Below is every security update for CSP log 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.

CSP log

Critical · 3,258 sites report using it · SA-CONTRIB-2026-136 · on drupal.org · Week of 9 September 2026

The module does not properly clean up user input before using it to search the database. An administrator could run malicious database commands to read any private information and change some data.

  • Who could do thisOnly someone with an administrator login.
  • Does it apply to youA site is affected if an attacker has the access right to view the security reports.
  • Has it been used in attacksNo sign of it.
  • How urgentDrupal rates this critical. Cyber Essentials expects a fix within 14 days. Do it this week.

Tell your developerUpdate CSP log to 1.0.2.

For developers: what the fix changed

The fix updates the database query in src/CspLogService.php to use parameterised queries and integer casting for the minimum and maximum amount filters instead of concatenating them directly into the having clause.

Also in this release The release also fixes a bug where the maximum amount filter was incorrectly using the date filter value.

1.0.1 to 1.0.2 1 commit, 1 file.

  • src/CspLogService.php +2 −2 fix

Full diff, 1.0.1 to 1.0.2

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.