Skip to content
XSS Write-up Beginner

HOW i found the CVE-2025–4388?

A reflected cross-site scripting vulnerability existed in the Liferay Portal marketplace app manager, allowing an unauthenticated attacker to inject JavaScript via a crafted URL. The author found vulnerable instances and reported them, with one accepted.

medium.com

Published on medium.com

NOTE: “its best one to check alive subdomains with present working positions (technologies).”

DOD cyber solutions, 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 icon.jsp page in the marketplace app manager fails to properly sanitise the iconURL parameter, allowing script injection.

Impact

An unauthenticated attacker could execute arbitrary JavaScript in a victim's browser, potentially leading to session hijacking or other client-side attacks.

What the attacker needed

Target runs vulnerable Liferay Portal version; victim clicks a crafted link

How it was found

  1. Collect subdomains from various sources.
  2. Use httpx to check alive subdomains and their titles.
  3. Manually open URLs and check technologies with Wappalyzer.
  4. Identify a subdomain running Liferay Portal CMS.
  5. Test the suspected vulnerable endpoint by adding a crafted payload to the path.
  6. If the XSS triggers, the target is vulnerable.

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.

Cross-site scripting (XSS) is when a website lets an attacker sneak harmful code into a page that other people view. Here, a specially crafted link could make the victim's browser run the attacker's JavaScript, which might steal data or perform actions as the victim. The flaw was in a part of the Liferay Portal content management system.

What is XSS?

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

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.