CVE-2025–43807: Stored Cross-Site Scripting (XSS) Vulnerability
A stored cross-site scripting flaw in Liferay Portal's Publications feature allowed an authenticated user to inject a script into a publication's name field, which then executed in the browser of any user who viewed the invitation notification. This could lead to session hijacking, account takeover, and data theft.
Enterprise portal platforms are trusted environments. Administrators, content editors, and privileged users interact with them daily, often with elevated access to sensitive data and internal systems.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application failed to encode user-supplied input when rendering the publication name in the notifications widget, allowing script injection.
Impact
Successful exploitation could enable session hijacking and account takeover, theft of sensitive data, phishing attacks targeting administrators, lateral movement within organisations, and compliance exposure; the authentication requirement reduces mass exploitation but does not protect against insider threats or compromised low-privilege accounts.
What the attacker needed
Authenticated user with access to Publications; victim views the notification
The fix
The vulnerability was fixed by adding proper output encoding to publication names before they are rendered in the notification widget.
How it was found
- An authenticated user creates or edits a publication.
- The user injects a malicious payload into the 'Name' text field.
- Another user receives and views the publication invitation notification.
- The unsanitized payload executes in the victim's browser session.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This is a stored cross-site scripting (XSS) bug. A logged-in user could type a malicious script into a publication name, and that script would later run in the browser of anyone who saw a notification about that publication. Because the script runs in the victim's browser, it can steal their session or perform actions on their behalf.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.