# CVE-2017-12646: Liferay Portal XSS Vulnerability

Source: https://junglewise.ai/threats/cve-2017-12646-liferay-portal-xss-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-17  
License: CC BY 4.0 with a link back

CVE-2017-12646 · Severity: low · CVSS 3.1 · Published 2022-05-17

Liferay Portal XSS Vulnerability

Technologies: [com.liferay:com.liferay.login.web (Maven)](https://junglewise.ai/threats/technologies/com-liferay-com-liferay-login-web), [com.liferay.portal:release.portal.bom (Maven)](https://junglewise.ai/threats/technologies/com-liferay-portal-release-portal-bom). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

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

**How severe is CVE-2017-12646?** Low severity, with a CVSS score of 3.1, published 17 May 2022.

**Which products and versions are affected?** com.liferay:com.liferay.login.authentication.openid.connect.web (Maven) ECOSYSTEM:introduced=1.0.0,fixed=1.0.1; com.liferay:com.liferay.login.web (Maven) ECOSYSTEM:introduced=0,fixed=1.1.20; com.liferay.portal:release.portal.bom (Maven) ECOSYSTEM:introduced=0,fixed=7.0.3-GA4.

**Is there a fix for CVE-2017-12646?** Yes. com.liferay:com.liferay.login.authentication.openid.connect.web (Maven): upgrade to 1.0.1 or later; com.liferay:com.liferay.login.web (Maven): upgrade to 1.1.20 or later; com.liferay.portal:release.portal.bom (Maven): upgrade to 7.0.3-GA4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2017-12646?** Check whether you run com.liferay:com.liferay.login.authentication.openid.connect.web (Maven), com.liferay:com.liferay.login.web (Maven) or com.liferay.portal:release.portal.bom (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.login.authentication.openid.connect.web (Maven): upgrade to 1.0.1 or later

  ```sh
  # set com.liferay:com.liferay.login.authentication.openid.connect.web to 1.0.1 in your pom.xml or build.gradle
  ```

- com.liferay:com.liferay.login.web (Maven): upgrade to 1.1.20 or later

  ```sh
  # set com.liferay:com.liferay.login.web to 1.1.20 in your pom.xml or build.gradle
  ```

- com.liferay.portal:release.portal.bom (Maven): upgrade to 7.0.3-GA4 or later

  ```sh
  # set com.liferay.portal:release.portal.bom to 7.0.3-GA4 in your pom.xml or build.gradle
  ```


## Affected products

- com.liferay:com.liferay.login.authentication.openid.connect.web (Maven) ECOSYSTEM:introduced=1.0.0,fixed=1.0.1
- com.liferay:com.liferay.login.web (Maven) ECOSYSTEM:introduced=0,fixed=1.1.20
- com.liferay.portal:release.portal.bom (Maven) ECOSYSTEM:introduced=0,fixed=7.0.3-GA4

## Identifiers

- CVE-2017-12646
- GHSA-8gqf-26xw-x3gx

## Related threats

- [Liferay Portal Vulnerable to Reflected XSS via the selectedLanguageId Parameter](https://junglewise.ai/threats/cve-2025-62264-liferay-portal-vulnerable-to-reflected-xss-via-the)
- [Liferay Portal is vulnerable to XSS in the Blogs widget](https://junglewise.ai/threats/cve-2025-62265-liferay-portal-is-vulnerable-to-xss-in-the-blogs-widget)
- [Liferay Portal is vulnerable to DNS rebinding attacks](https://junglewise.ai/threats/cve-2025-62266-liferay-portal-is-vulnerable-to-dns-rebinding-attacks)
- [Liferay Portal vulnerable to password enumeration](https://junglewise.ai/threats/cve-2025-62257-liferay-portal-vulnerable-to-password-enumeration)
- [Liferay Portal Does Not Limit Access to APIs Before Email Verification](https://junglewise.ai/threats/cve-2025-62259-liferay-portal-does-not-limit-access-to-apis-before-email)
