Skip to content
XSS Write-up Beginner

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.

Loginsoft Follow

Published on medium.com

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.

Loginsoft, on medium.com

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

  1. An authenticated user creates or edits a publication.
  2. The user injects a malicious payload into the 'Name' text field.
  3. Another user receives and views the publication invitation notification.
  4. 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.

More by Loginsoft

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.