Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    DRUPAL-CONTRIB-2026-136 (CVE-2026-87938)

    Vulnerability from drupal – Published: 2026-09-09 17:16 – Updated: 2026-09-09 17:16 – Source website
    VLAI
    Details

    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.

    The module did not sufficiently sanitize user-supplied values used in database queries, resulting in an SQL injection vulnerability.

    This 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.


    {
      "affected": [
        {
          "database_specific": {
            "affected_versions": "\u003c1.0.2"
          },
          "package": {
            "ecosystem": "Packagist:https://packages.drupal.org/8",
            "name": "drupal/csp_log"
          },
          "ranges": [
            {
              "database_specific": {
                "constraint": "\u003c1.0.2"
              },
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.0.2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "severity": []
        }
      ],
      "aliases": [
        "CVE-2026-87938"
      ],
      "credits": [
        {
          "contact": [
            "https://www.drupal.org/u/eduardo-morales-alberti"
          ],
          "name": "eduardo morales alberti"
        }
      ],
      "details": "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.",
      "id": "DRUPAL-CONTRIB-2026-136",
      "modified": "2026-09-09T17:16:33.000Z",
      "published": "2026-09-09T17:16:33.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://www.drupal.org/sa-contrib-2026-136"
        }
      ],
      "schema_version": "1.7.0"
    }