{"id":"CVE-2026-87938","aliases":["DRUPAL-CONTRIB-2026-136","EUVD-2026-107863","GHSA-hm65-mvq3-2mcc"],"status":"published","title":"CSP log - Critical - SQL Injection - SA-CONTRIB-2026-136","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Drupal CSP log allows SQL Injection. This issue affects CSP log versions: from 0.0.0 to 1.0.2.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.00361,"percentile":0.30344,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2026-09-09T17:16:33Z","modified":"2026-11-01T02:30:17Z","fixes":[{"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/csp_log","fixed_in":["1.0.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/csp_log","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2"}]}]}],"products":[{"vendor":"drupal","product":"csp log"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2026-136","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87938","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-hm65-mvq3-2mcc"},{"url":"https://git.drupalcode.org/project/csp_log","tags":["web"]},{"url":"https://www.drupal.org/project/csp_log","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87938.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-87938","title":"CSP log - Critical - SQL Injection - SA-CONTRIB-2026-136","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Drupal CSP log allows SQL Injection. This issue affects CSP log versions: from 0.0.0 to 1.0.2.","status":"published","published":"2026-10-22T01:22:03.658Z","modified":"2026-10-30T20:00:58.622Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T13:37:47.463822Z"}],"euvd":[{"id":"EUVD-2026-107863","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Drupal CSP log allows SQL Injection. This issue affects CSP log versions: from 0.0.0 to 1.0.2.","status":"published","published":"2026-10-22T01:22:03Z","modified":"2026-10-30T20:00:58Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T16:59:01.965054Z"}],"ghsa":[{"id":"GHSA-hm65-mvq3-2mcc","title":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')...","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Drupal CSP log allows SQL Injection. This issue affects CSP log versions: from 0.0.0 to 1.0.2.","status":"published","published":"2026-10-22T03:33:39Z","modified":"2026-10-30T21:31:53Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","level":"medium"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:14:52.597654Z"}],"nvd":[{"id":"CVE-2026-87938","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Drupal CSP log allows SQL Injection. This issue affects CSP log versions: from 0.0.0 to 1.0.2.","status":"published","published":"2026-10-22T02:17:03.27Z","modified":"2026-10-30T20:17:22.507Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:13:02.371082Z"}],"osv":[{"id":"CVE-2026-87938","title":"CSP log - Critical - SQL Injection - SA-CONTRIB-2026-136","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Drupal CSP log allows SQL Injection. This issue affects CSP log versions: from 0.0.0 to 1.0.2.","status":"published","published":"2026-10-22T01:22:03.658Z","modified":"2026-11-01T02:30:17.805475918Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","level":"medium"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:45:19.210277Z"},{"id":"DRUPAL-CONTRIB-2026-136","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.","status":"published","published":"2026-09-09T17:16:33Z","modified":"2026-09-09T19:25:58.29793Z","updated_at":"2026-11-02T15:46:13.900249Z"}]}}
