CVE-2025-4388 Reflected XSS in marketplace-app-manager-web.
A reflected cross-site scripting flaw exists in the Liferay marketplace-app-manager-web module, where the iconURL parameter is not properly sanitised. An attacker could inject JavaScript into a victim's browser and perform actions on their behalf.
- Fixed in 13 days
- Disclosed after 14 days
Summary by Renatto
NASA Marshall Space Flight Center (MSFC) Directives Master List (DML) (dml.msfc.nasa.gov) is vulnerable to a reflected cross-site scripting (XSS) vulnerability in Liferay Portal and Liferay DXP which allows an remote non-authenticated attacker to inject JavaScript into the modules/apps/marketplace/marketplace-app-manager-web
When an attacker can control code that is executed within a user’s browser, they are able to carry out any actions that the user is able to perform, including accessing any of the user's data and modifying information within the user’s permissions. This can result in modification, deletion, or theft of data, including accessing or deleting files, or stealing session cookies which an attacker could use to hijack a user’s session.
Proof of Concept (PoC)
GET /o/marketplace-app-manager-web/icon.jsp?iconURL=https:///%22%3E%3Cimg%20src%3Dx%20onerror%3Dalert(%27Renatto%27)%3E HTTP/1.1
Host: dml.msfc.nasa.gov
Sec-Ch-Ua: "Chromium";v="133", "Not(A:Brand";v="99"
Sec-Ch-Ua-Mobile: ?0
Sec-Ch-Ua-Platform: "Windows"
Accept-Language: en-GB,en;q=0.9
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Accept-Encoding: gzip, deflate, br
Priority: u=0, i
Connection: keep-alive
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the iconURL parameter is reflected into the page without proper output encoding or validation.
Impact
An attacker could execute arbitrary JavaScript in a victim's browser, potentially leading to data theft or session hijacking.
What the attacker needed
Victim clicks a crafted link; no authentication needed
How it was found
- Send a GET request to the icon.jsp endpoint with a crafted iconURL parameter containing a script payload.
- The server reflects the payload in the response, causing the script to execute in the victim's browser.
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 report has not been written yet. The Original tab links to the source.
Cross-site scripting (XSS) is when a website takes input from a user and puts it into a page without cleaning it, so an attacker can sneak in their own code. Here, a parameter called iconURL is not cleaned, so a crafted link can make the victim's browser run the attacker's JavaScript. That script can then do anything the victim can do on the site, like read data or act as them.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.