CVE-2026-61526: AdonisJS HTTP Server is vulnerable to reflected XSS through its exception handler

Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.

Generated by VEDAS. Scores as of 2026-11-01 19:19 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.

What it is

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.

Description quoted from the CVE record (assigned by GitHub_M, published 2026-07-30).

Weakness: CWE-79: Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’)

How it can be exploited

Exploitable over the network with low attack complexity needing no privileges and a user must take an action. Impact: confidentiality low, integrity low, availability none. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CISA assessment (SSVC): CISA has no evidence of exploitation. Automatable: no. Technical impact: partial.

Public exploit evidence (Exploit Observer)

Also known as: EUVD-2026-51310

VEDAS cluster: VEDAS:CYBERGANDER

Exploit Observer links 5 pieces of public exploit code or detection modules that name this CVE or one of its aliases.

Exploit code and modules (5)

Code that names this CVE. A repository can be a working exploit, a scanner, a fake or malware; read it before running anything.

Vulnerability databases and vendor advisories (2)

Catalogue entries, not exploit evidence.

3 more references returned by Exploit Observer did not name this CVE or an alias, so they are left out.

VEDAS data as of 2026-11-01T17:12 UTC; fetched 2026-11-02.

Live scores

EPSS
0.003
low predicted chance of attack
VEDAS
0.984
strong exploit evidence
On CISA KEV
Not listed
Detection rule
Nuclei · Suricata

Who is affected

ProductAffectedNot affected
adonisjs http-serverversion >= 8.0.0-next.0, < 8.2.1
version >= 9.0.0, < 9.1.0
Not stated

Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.

How to fix it

No fixed version or vendor advisory is listed in the CVE record yet. Watch the vendor’s security page.

How to detect it

Nuclei template (active check)

AdonisJS - Reflected Cross-Site Scripting

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 (`<p> ${error.message} </p>`) without HTML escaping. For a missing route the message is `Cannot GET:<path>`, 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.

Name and description quoted from the template, written by VEDAS.

The template sends 1 request (GET /vedasINJ%22%3e%3csvg%2fonload%3dalert(1)%3e); it decides using status, word matchers. Severity in the template: medium. Marked as not yet verified against a live vulnerable target.

Run it against a host you own or are authorised to test:

bash
nuclei -u https://your-host -t CVE-2026-61526.yaml
Show the template (44 lines)
yaml
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
    (`<p> ${error.message} </p>`) without HTML escaping. For a missing route the message is `Cannot GET:<path>`,
    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"><svg'
      - type: word
        part: header
        words:
          - "text/html"
      - type: status
        status:
          - 404

CVE-2026-61526.yaml on GitHub

Suricata rules (network detection)

1 rule that alert on traffic matching this exploit: VEDAS CVE-2026-61526 AdonisJS - Reflected Cross-Site Scripting. Add them to your Suricata rule set and reload.

Show the rules
suricata
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2026-61526 AdonisJS - Reflected Cross-Site Scripting"; flow:established,to_server; http.uri; content:"onload"; nocase; fast_pattern; content:"svg"; nocase; classtype:web-application-attack; reference:cve,CVE-2026-61526; reference:url,https://www.exploit.observer/?keyword=CVE-2026-61526&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=adonisjs&match=exact; sid:1098800; rev:1;)

CVE-2026-61526.rules on GitHub

References

Other references

Other databases

Where this comes from

This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.