CVE-2026-61526: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in adonisjs http-server
A cross-site scripting (XSS) vulnerability exists in the AdonisJS HTTP Server package versions 8.0.0-next.0 through 8.2.0 and 9.0.0 through 9.0.2. The error.message is directly interpolated into the default HTML exception response without proper escaping, allowing attacker-controlled JavaScript execution when a crafted missing-route URL is accessed and no custom error handling is in place. This issue is fixed in versions 8.2.1 and 9.1.0.
AI Analysis
Technical Summary
The AdonisJS HTTP Server package improperly neutralizes input during web page generation by interpolating error.message directly into the default HTML exception response without escaping. This occurs when debug mode is disabled and no custom status page or JSON response handles the error. An attacker can craft a missing-route URL that triggers this vulnerability, resulting in reflected cross-site scripting (CWE-79). The vulnerability affects versions 8.0.0-next.0 through 8.2.0 and 9.0.0 through 9.0.2 and is resolved in versions 8.2.1 and 9.1.0.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim's browser when the victim opens a crafted missing-route URL. This can lead to information disclosure and limited integrity impact. The CVSS v3.1 score is 6.1 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, and partial confidentiality and integrity impact.
Mitigation Recommendations
Upgrade affected AdonisJS HTTP Server versions to 8.2.1 or later, or 9.1.0 or later, where the vulnerability is fixed. If upgrading is not immediately possible, implement custom status pages or JSON responses to handle errors instead of relying on the default HTML exception response. Patch status is not explicitly stated in the vendor advisory, but fixed versions are known.
CVE-2026-61526: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in adonisjs http-server
Description
A cross-site scripting (XSS) vulnerability exists in the AdonisJS HTTP Server package versions 8.0.0-next.0 through 8.2.0 and 9.0.0 through 9.0.2. The error.message is directly interpolated into the default HTML exception response without proper escaping, allowing attacker-controlled JavaScript execution when a crafted missing-route URL is accessed and no custom error handling is in place. This issue is fixed in versions 8.2.1 and 9.1.0.
CVSS v3.1
Score 6.1medium
Affected software
adonisjs
http-server
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The AdonisJS HTTP Server package improperly neutralizes input during web page generation by interpolating error.message directly into the default HTML exception response without escaping. This occurs when debug mode is disabled and no custom status page or JSON response handles the error. An attacker can craft a missing-route URL that triggers this vulnerability, resulting in reflected cross-site scripting (CWE-79). The vulnerability affects versions 8.0.0-next.0 through 8.2.0 and 9.0.0 through 9.0.2 and is resolved in versions 8.2.1 and 9.1.0.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim's browser when the victim opens a crafted missing-route URL. This can lead to information disclosure and limited integrity impact. The CVSS v3.1 score is 6.1 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, and partial confidentiality and integrity impact.
Mitigation Recommendations
Upgrade affected AdonisJS HTTP Server versions to 8.2.1 or later, or 9.1.0 or later, where the vulnerability is fixed. If upgrading is not immediately possible, implement custom status pages or JSON responses to handle errors instead of relying on the default HTML exception response. Patch status is not explicitly stated in the vendor advisory, but fixed versions are known.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-10T16:27:03.092Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a6bbd2e9c2644c7f8b08cd4
Added to database: 07/30/2026, 21:07:58 UTC
Last enriched: 08/07/2026, 14:38:24 UTC
Last updated: 09/13/2026, 22:01:35 UTC
Views: 61
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.