{"id":"DRUPAL-CONTRIB-2026-136","aliases":["CVE-2026-87938"],"title":"The CSP Log module enhances any module that adds the CSP header to a site, by providing a reporting endpoint, custom storage, and aggregated reports that…","titleSource":"OSV","descriptionSource":"OSV","description":"The CSP Log module enhances any module that adds the CSP header to a site, by providing a reporting endpoint, custom storage, and aggregated reports that can be used to trace issues or adapt the CSP headers.\n\nThe module did not sufficiently sanitize user-supplied values used in database queries, resulting in an SQL injection vulnerability.\n\nThis vulnerability is mitigated by the fact that an attacker needs access to an account with the *Access CSP reports* permission to exploit the SQL Injection.","severity":"unknown","score":null,"published":"2026-09-09T17:16:33.000Z","modified":"2026-09-09T19:25:58.297Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist:https://packages.drupal.org/8","name":"drupal/csp_log","sources":[{"name":"OSV · DRUPAL-CONTRIB-2026-136","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2026-136"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"1.0.2"}],"type":"ECOSYSTEM","database_specific":{"constraint":"<1.0.2"}}],"versions":[],"fixed":["1.0.2"]}],"sourceAffected":[],"references":["https://www.drupal.org/sa-contrib-2026-136"],"sources":[{"name":"OSV","id":"DRUPAL-CONTRIB-2026-136","modified":"2026-09-09T19:25:58.297930Z","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2026-136"}],"assessments":[],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T23:45:31.121Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}