GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

DRUPAL-CONTRIB-2026-159unknown

DRUPAL-CONTRIB-2026-159

Check your stack

The advisory, in context

The Webform module allows site builders to create forms, collect submissions, and configure access to forms and submission data.

The module did not sufficiently sanitize attributes used by its color element. Under certain conditions, specially crafted attributes could result in cross-site scripting (XSS) when the element is rendered.

This vulnerability is mitigated by the fact that an attacker must be able to add a specially crafted link with a specific class to the same page as the affected webform.

Affected packages

Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.

drupal/webform Packagist:https://packages.drupal.org/8
Ecosystem versions

Earlier releases before 6.2.12

Fixed in 6.2.12

Ecosystem versions

From 6.3.0 before 6.3.1

Fixed in 6.3.1

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "0"
        },
        {
          "fixed": "6.2.12"
        }
      ],
      "type": "ECOSYSTEM",
      "database_specific": {
        "constraint": "<6.2.12"
      }
    },
    {
      "events": [
        {
          "introduced": "6.3.0"
        },
        {
          "fixed": "6.3.1"
        }
      ],
      "type": "ECOSYSTEM",
      "database_specific": {
        "constraint": ">=6.3.0 <6.3.1"
      }
    }
  ],
  "versions": []
}

References