← Back to CVE Explorer

CVE-2026-61526

Full vulnerability record from the local CVENow database.

Description

AdonisJS HTTP Server is a package for handling HTTP requests in the AdonisJS framework. In versions 8.0.0-next.0 through 8.2.0 and 9.0.0 through 9.0.2, the error.message is interpolated into the default HTML exception response without escaping, allowing a crafted missing-route URL to execute attacker-controlled JavaScript when a victim opens it and no custom status page or JSON response handles the error. When debug mode is disabled and no custom status page handles the error, the default HTML renderer interpolates error.message directly into an HTML response. This issue is fixed in versions 8.2.1 and 9.1.0.

Severity
MEDIUM
CVSS score
6.1 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-30 21:18:12.030000
Last modified
2026-10-23 22:10:00.160000
View original CVE JSON
{
  "id": "CVE-2026-61526",
  "sourceIdentifier": "[email protected]",
  "published": "2026-07-30T21:18:12.030",
  "lastModified": "2026-10-23T22:10:00.160",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "AdonisJS HTTP Server is a package for handling HTTP requests in the AdonisJS framework. In versions 8.0.0-next.0 through 8.2.0 and 9.0.0 through 9.0.2, the  error.message is interpolated into the default HTML exception response without escaping, allowing a crafted missing-route URL to execute attacker-controlled JavaScript when a victim opens it and no custom status page or JSON response handles the error. When debug mode is disabled and no custom status page handles the error, the default HTML renderer interpolates error.message directly into an HTML response. This issue is fixed in versions 8.2.1 and 9.1.0."
    },
    {
      "lang": "es",
      "value": "AdonisJS HTTP Server es un paquete para manejar solicitudes HTTP en el framework AdonisJS. En las versiones 8.0.0-next.0 a 8.2.0 y 9.0.0 a 9.0.2, el error.message se interpola en la respuesta de excepción HTML predeterminada sin escapar, permitiendo que una URL de ruta faltante manipulada ejecute JavaScript controlado por el atacante cuando una víctima la abre y ninguna página de estado personalizada o respuesta JSON maneja el error. Cuando el modo de depuración está deshabilitado y ninguna página de estado personalizada maneja el error, el renderizador HTML predeterminado interpola error.message directamente en una respuesta HTML. Este problema está solucionado en las versiones 8.2.1 y 9.1.0."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "adonisjs",
          "product": "http-server",
          "versions": [
            {
              "version": ">= 8.0.0-next.0, < 8.2.1",
              "status": "affected"
            },
            {
              "version": ">= 9.0.0, < 9.1.0",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
          "baseScore": 6.1,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "CHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 2.7
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-07-31T19:20:24.928162Z",
          "id": "CVE-2026-61526",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-79"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/adonisjs/http-server/commit/5d7465d599753b1fce8a36da18955f2c273e4f87",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/adonisjs/http-server/commit/71a0a8e375c375e3588ba44ef68b0ef5a993c3d3",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/adonisjs/http-server/releases/tag/v8.2.1",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/adonisjs/http-server/releases/tag/v9.1.0",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/adonisjs/http-server/security/advisories/GHSA-cwm9-gfhc-46f6",
      "source": "[email protected]"
    }
  ]
}