Intel

AIKIDO-2025-10102

primefaces is vulnerable to Cross-site Scripting (XSS)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Feb 19, 2025
February 19, 2025

45

CVE Score

Medium

Cross-site Scripting (XSS)

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.

How do I fix this?

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

Who does this affect?

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

Package

Versions

7.0.0 - 14.0.12

Fixed in 15.0.0

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea