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.
Published: 2026-07-30
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises when the AdonisJS HTTP Server exception handler inserts the unescaped error.message into the default HTML error page, allowing a crafted missing‑route URL to execute attacker‑controlled JavaScript in the victim’s browser. Based on the description, this can lead to malicious script execution within the client context, potentially resulting in session hijacking or data theft.

Affected Systems

AdonisJS HTTP Server versions 8.0.0‑next.0 through 8.2.0 and 9.0.0 through 9.0.2 are affected; the issue is fixed in 8.2.1 and 9.1.0.

Risk and Exploitability

The CVSS score of 6.1 reflects moderate severity, and the EPSS score of < 1% indicates a very low likelihood of exploitation at present; the vulnerability is not listed in the CISA KEV catalog, suggesting limited real‑world exploitation. Attackers can trigger the flaw by sending a crafted HTTP request to a non‑existent route when the application is in production mode with debug disabled and no custom error page configured, thereby enabling reflected cross‑site scripting.

Generated by OpenCVE AI on August 4, 2026 at 22:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade AdonisJS HTTP Server to v8.2.1 or later for the 8.x series, or v9.1.0 or later for the 9.x series
  • If an upgrade is not immediately possible, configure a custom exception handler that returns JSON or a sanitized error page, bypassing the vulnerable default HTML renderer
  • Ensure that custom error handling is enabled in the production environment and that debug mode is disabled to prevent the default renderer from being invoked

Generated by OpenCVE AI on August 4, 2026 at 22:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 31 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 30 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Adonisjs
Adonisjs http-server
Vendors & Products Adonisjs
Adonisjs http-server

Thu, 30 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
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.
Title AdonisJS HTTP Server is vulnerable to reflected XSS through its exception handler
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Subscriptions

Adonisjs Http-server
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-31T19:20:48.817Z

Reserved: 2026-07-10T16:27:03.092Z

Link: CVE-2026-61526

cve-icon Vulnrichment

Updated: 2026-07-31T19:20:40.244Z

cve-icon NVD

Status : Received

Published: 2026-07-30T21:18:12.030

Modified: 2026-07-31T20:16:52.970

Link: CVE-2026-61526

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T23:00:15Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')