Vigor2860 FirmwareOperating system · Draytek

CVE-2023-23313

MEDIUM · 6.1 CVSS v3.1 Published 2023-03-03
Fix available
A fix is available. Upgrade to 3.9.4 or later.
See remediation →
68/100
Remediation priority · Elevated
Remotely reachable No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Certain Draytek products are vulnerable to Cross Site Scripting (XSS) via the wlogin.cgi script and user_login.cgi script of the router's web application management portal. This affects Vigor3910, Vigor1000B, Vigor2962 v4.3.2.1; Vigor2865 and Vigor2866 v4.4.1.0; Vigor2927 v4.4.2.2; and Vigor2915, Vigor2765, Vigor2766, Vigor2135 v4.4.2.0; Vigor2763 v4.4.2.1; Vigor2862 and Vigor2926 v3.9.9.0; Vigor2925 v3.9.3; Vigor2952 and Vigor3220 v3.9.7.3; Vigor2133 and Vigor2762 v3.9.6.4; and Vigor2832 v3.9.6.2.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Multiple Draytek Vigor router models contain a reflected Cross Site Scripting (XSS) vulnerability in the wlogin.cgi and user_login.cgi scripts of the web application management portal. An attacker can inject malicious JavaScript code through the login scripts that executes in the victim's browser when accessing the router's web interface.

MitigationUpdate affected routers to firmware versions that include the security patch from Draytek. If patches are unavailable, consider disabling remote web management access, implementing WAF rules to filter XSS payloads on login parameters, or restricting management interface access to trusted IP addresses.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Vigor2860 FirmwareOperating system
Affected:< 3.9.4
Vigor2860n FirmwareOperating system
Affected:< 3.9.4
Vigor2860n Plus FirmwareOperating system
Affected:< 3.9.4
Vigor2860vn Plus FirmwareOperating system
Affected:< 3.9.4
Vigor2860ac FirmwareOperating system
Affected:< 3.9.4
Vigor2860vac FirmwareOperating system
Affected:< 3.9.4
Vigor2860l FirmwareOperating system
Affected:< 3.9.4
Vigor2860ln FirmwareOperating system
Affected:< 3.9.4

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Scope
Changed
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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify router model
    Access the router's web interface or check the device label to confirm the exact model number (e.g., Vigor2860, Vigor2860n, Vigor2860n Plus, Vigor2860vn Plus, Vigor2860ac, Vigor2860vac, Vigor2860l, or Vigor2860ln)
    Affected if The model is any of the Vigor2860 series variants listed as affected
  2. Check firmware version
    Log into the router web interface and navigate to the System Status or Maintenance section to view the current firmware version, or use the router's command line interface if available
    Affected if The firmware version is below 3.9.4 (for example, 3.9.3, 3.9.2, etc.)
  3. Verify web management interface accessibility
    Attempt to access the router's login page via HTTP/HTTPS from the network segment where the router is deployed
    Affected if The web interface (wlogin.cgi or user_login.cgi) is reachable over the network
  4. Confirm remote access configuration
    Check the router's remote management settings (usually under System Maintenance > Remote Access or similar) to determine if web-based management is enabled for external IPs or WAN interfaces
    Affected if Remote web management access is enabled and the login scripts are exposed to untrusted networks
  5. Assess login script exposure
    Attempt to access the specific endpoints /cgi/wlogin.cgi and /cgi/user_login.cgi on the router's IP address to confirm they respond
    Affected if Either wlogin.cgi or user_login.cgi returns a response, indicating the vulnerable scripts are accessible

You are affected if you have a Draytek Vigor2860 series router running firmware version below 3.9.4 and the router's web login scripts are accessible on your network.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 3.9.4 or later
Fixed in 3.9.4
Interim mitigation

Update affected routers to firmware versions that include the security patch from Draytek. If patches are unavailable, consider disabling remote web management access, implementing WAF rules to filter XSS payloads on login parameters, or restricting management interface access to trusted IP addresses.

Recommended fix High confidence

Vigor2860 series firmware 3.9.4

  1. 1. Access the Draytek Vigor router web management interface
  2. 2. Navigate to System Maintenance > Firmware Upgrade
  3. 3. Download the firmware version 3.9.4 (or latest available) from the official Draytek website (www.draytek.com)
  4. 4. Upload the firmware file to the router
  5. 5. Wait for the firmware upgrade process to complete and the router to reboot
  6. 6. Verify the firmware version has been updated successfully
Caveat Review release notes for any configuration changes required after upgrade

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Vigor2860 Firmware Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing6.0 h
  • Review / QA2.0 h
20.0 hours of engineering $3,500
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,600.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-23313 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2023-23313 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data