CVE-2026-61526
Received Received - Intake

Cross-Site Scripting in AdonisJS HTTP Server

Vulnerability report for CVE-2026-61526, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-30

Last updated on: 2026-07-30

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-30
Last Modified
2026-07-30
Generated
2026-07-31
AI Q&A
2026-07-31
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
adonisjs http_server From 8.0.0 (inc) to 8.2.0 (inc)
adonisjs http_server From 9.0.0 (inc) to 9.0.2 (inc)
adonisjs http_server 8.2.1
adonisjs http_server 9.1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

AdonisJS HTTP Server versions 8.0.0-next.0 through 8.2.0 and 9.0.0 through 9.0.2 have a reflected cross-site scripting (XSS) vulnerability. The error.message is directly interpolated into the default HTML exception response without proper escaping. This allows an attacker to craft a malicious URL that executes JavaScript when a victim opens it, especially if no custom status page or JSON response handles the error.

Detection Guidance

Check AdonisJS HTTP Server versions between 8.0.0-next.0 and 8.2.0 or 9.0.0 and 9.0.2. Inspect error responses for unsanitized error.message in HTML output. Look for unexpected JavaScript execution in default error pages.

Impact Analysis

If you use a vulnerable version of AdonisJS HTTP Server, an attacker could trick you or your users into visiting a specially crafted URL. This could lead to execution of malicious JavaScript in your browser, potentially stealing session cookies, sensitive data, or performing actions on your behalf without your consent.

Compliance Impact

This vulnerability could lead to unauthorized access to personal data, violating GDPR's data protection principles and HIPAA's security requirements. It may result in data breaches, unauthorized disclosure of sensitive information, and non-compliance with regulations mandating protection of personal and health data.

Mitigation Strategies

Upgrade AdonisJS HTTP Server to version 8.2.1 or 9.1.0 or later. Disable debug mode if enabled. Configure custom status pages to handle errors safely. Review and sanitize error messages in responses.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-61526. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart