# CVE-2021-38264: Liferay Portal vulnerable to cross-site scripting (XSS) via the keywords parameter

Source: https://junglewise.ai/threats/cve-2021-38264-liferay-portal-vulnerable-to-cross-site-scripting-xss-via-the  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-03-04  
License: CC BY 4.0 with a link back

CVE-2021-38264 · Severity: low · CVSS 3.1 · Published 2022-03-04

Liferay Portal vulnerable to cross-site scripting (XSS) via the keywords parameter

Technologies: [com.liferay:com.liferay.frontend.taglib.clay (Maven)](https://junglewise.ai/threats/technologies/com-liferay-com-liferay-frontend-taglib-clay). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2021-38264 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-38264 being exploited in the wild.

**How severe is CVE-2021-38264?** Low severity, with a CVSS score of 3.1, published 4 March 2022.

**Which products and versions are affected?** com.liferay:com.liferay.frontend.taglib.clay (Maven) ECOSYSTEM:introduced=0,fixed=7.1.15.

**Is there a fix for CVE-2021-38264?** Yes. com.liferay:com.liferay.frontend.taglib.clay (Maven): upgrade to 7.1.15 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-38264?** Check whether you run com.liferay:com.liferay.frontend.taglib.clay (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- com.liferay:com.liferay.frontend.taglib.clay (Maven): upgrade to 7.1.15 or later

  ```sh
  # set com.liferay:com.liferay.frontend.taglib.clay to 7.1.15 in your pom.xml or build.gradle
  ```


## Affected products

- com.liferay:com.liferay.frontend.taglib.clay (Maven) ECOSYSTEM:introduced=0,fixed=7.1.15

## Identifiers

- CVE-2021-38264
- GHSA-9536-m86r-q297

## Related threats

- [Liferay Portal is vulnerable to XSS attack through its Style Book theme](https://junglewise.ai/threats/cve-2025-43774-liferay-portal-is-vulnerable-to-xss-attack-through-its-style-book)
- [Liferay Portal 7.4.0 and Liferay DXP have a reflected cross-site scripting (XSS) vulnerability](https://junglewise.ai/threats/cve-2025-43734-liferay-portal-7-4-0-and-liferay-dxp-have-a-reflected-cross-site)
- [Liferay Portal and Liferay DXP Vulnerable to XSS in the Frontend Taglib Module](https://junglewise.ai/threats/cve-2022-42117-liferay-portal-and-liferay-dxp-vulnerable-to-xss-in-the-frontend)
- [Liferay Portal cross-site scripting (XSS) vulnerability in the Frontend Taglib module](https://junglewise.ai/threats/cve-2021-35463-liferay-portal-cross-site-scripting-xss-vulnerability-in-the)
