CVE-2015-20116
Stored XSS via Unsanitized CSV Filename in RealtyScript
Publication date: 2026-03-16
Last updated on: 2026-03-19
Assigner: VulnCheck
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| nextclickventures | realtyscript | 4.0.2 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
[{'type': 'paragraph', 'content': 'CVE-2015-20116 is a stored Cross-Site Scripting (XSS) vulnerability in RealtyScript version 4.0.2. It occurs because the application does not properly sanitize CSV file uploads, specifically the filename parameter in multipart form data.'}, {'type': 'paragraph', 'content': 'Attackers can exploit this by uploading CSV files with malicious JavaScript code embedded in the filename. When the application processes or displays these files, the injected scripts execute in the browsers of users.'}, {'type': 'paragraph', 'content': "This allows attackers to run arbitrary JavaScript in users' browsers, potentially leading to unauthorized actions or data exposure."}] [1]
How can this vulnerability impact me? :
This vulnerability can impact you by allowing attackers to execute arbitrary JavaScript code in the browsers of users who interact with the affected application.
Such execution can lead to theft of user credentials, session hijacking, defacement of the website, or other malicious actions performed on behalf of the user.
Because the vulnerability requires user interaction (such as viewing or processing the uploaded CSV file), the risk depends on user behavior but can still result in significant security issues.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
[{'type': 'paragraph', 'content': 'This vulnerability can be detected by monitoring file uploads, specifically CSV files, for suspicious or unusual filename parameters that may contain embedded JavaScript payloads. Since the issue involves improper sanitization of the filename in multipart form data, inspecting HTTP requests that upload CSV files can help identify potential exploitation attempts.'}, {'type': 'paragraph', 'content': 'You can use network monitoring tools or web server logs to look for CSV file uploads with suspicious filenames containing script tags or JavaScript code.'}, {'type': 'paragraph', 'content': 'Example commands to detect such attempts might include:'}, {'type': 'list_item', 'content': 'Using grep on web server logs to find CSV uploads with suspicious filenames: grep -iE "\\.csv" /var/log/apache2/access.log | grep -iE "<script|javascript:"'}, {'type': 'list_item', 'content': "Using a network packet capture tool like tcpdump or Wireshark to filter HTTP POST requests containing multipart form data with CSV files: tcpdump -A -s 0 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' | grep -i 'filename=.*\\.csv'"}, {'type': 'paragraph', 'content': 'Additionally, reviewing application logs or implementing input validation logging on the server side can help detect attempts to upload files with malicious filenames.'}] [1]
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability immediately, you should implement proper sanitization and validation of the filename parameter in CSV file uploads to prevent injection of malicious scripts.
Specifically, you can:
- Restrict or sanitize characters allowed in filenames to exclude script tags or JavaScript code.
- Implement server-side validation to reject or neutralize filenames containing potentially dangerous content.
- Apply security patches or updates from the vendor if available.
- Educate users to avoid opening or processing files from untrusted sources.
Additionally, consider disabling or restricting CSV file uploads temporarily until a proper fix is applied.