Skip to content
Heist/ feed
Back to feed
UnratedFix available

drupal/examples — security advisory

Type: advisorySources: OSVAdvisory ID: DRUPAL-CONTRIB-2026-215

The Examples for Developers project aims to provide high-quality, well-documented API examples for a broad range of Drupal core functionality. The "Email Example" feature implemented by the email\_example submodule can be used to send illegitimate emails to arbitrary email addresses. Therefore, the email\_example sub-module is being removed from Examples for Developers until a version demonstrating security best practices can be added back in the future. Developers who based a new module on this example should review their code.

Products
drupal/examples
Affected versions
Not specified
Fixed versions
4.0.7
CVEs
CVE-2026-107312
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 08:47 UTC · Revision 1

Source evidence

DRUPAL-CONTRIB-2026-215

core-osv · Original source

Published 7 Oct 2026, 16:39 UTC

The Examples for Developers project aims to provide high-quality, well-documented API examples for a broad range of Drupal core functionality. The "Email Example" feature implemented by the email\_example submodule can be used to send illegitimate emails to arbitrary email addresses. Therefore, the email\_example sub-module is being removed from Examples for Developers until a version demonstrating security best practices can be added back in the future. Developers who based a new module on this example should review their code.

osv:DRUPAL-CONTRIB-2026-215

drupal/examples

Fixed versions: 4.0.7

Complete source record
{
  "id": "48b131cb7bc78e749b5d4f11f70464988ec06529ffb1e21bf7c8bd972228c3d0",
  "url": "https://osv.dev/vulnerability/DRUPAL-CONTRIB-2026-215",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DRUPAL-CONTRIB-2026-215",
    "summary": "The Examples for Developers project aims to provide high-quality, well-documented API examples for a broad range of Drupal core functionality. The \"Email Example\" feature implemented by the email\\_example submodule can be used to send illegitimate emails to arbitrary email addresses. Therefore, the email\\_example sub-module is being removed from Examples for Developers until a version demonstrating security best practices can be added back in the future. Developers who based a new module on this example should review their code.",
    "evidence": "osv:DRUPAL-CONTRIB-2026-215",
    "products": [
      {
        "name": {
          "value": "drupal/examples",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.0.7",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "DRUPAL-CONTRIB-2026-215",
      "aliases": [
        "CVE-2026-107312",
        "DRUPAL-CONTRIB-2026-215"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.0.7"
                }
              ],
              "database_specific": {
                "constraint": "<4.0.7"
              }
            }
          ],
          "package": {
            "name": "drupal/examples",
            "purl": "pkg:composer/drupal/examples?repository_url=https:%2F%2Fpackages.drupal.org%2F8",
            "ecosystem": "Packagist:https://packages.drupal.org/8"
          },
          "database_specific": {
            "source": "https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/examples/DRUPAL-CONTRIB-2026-215.json",
            "affected_versions": "<4.0.7"
          }
        }
      ],
      "modified": "2026-10-07T20:15:08.920429361Z",
      "provider": "osv",
      "references": [
        "https://www.drupal.org/sa-contrib-2026-215"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-107312",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 97224,
  "published_at": "2026-10-07T16:39:53+00:00"
}