Intel

AIKIDO-2025-10102

primefaces is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Feb 19, 2025

45

Medium Risk

This Affects:

JAVAprimefaces
7.0.0 - 14.0.12
Fixed in 15.0.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package allow attackers to execute Cross-site Scripting (XSS) attacks by exploiting DOM clobbering in the PickList component. DOM clobbering is a code-reuse attack where an attacker injects seemingly benign, non-script HTML markup (e.g., through a post or comment) into a webpage. The attacker then leverages existing JavaScript code (gadgets) to transform the injected content into executable code. This vulnerability can lead to XSS on websites that include Webpack-generated files and allow users to inject certain scriptless HTML tags.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

primefaces is vulnerable to Cross-site Scripting (XSS) in versions 7.0.0 - 14.0.12.

How to fix this

Upgrade the org.primefaces:primefaces library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform