Medium

Liferay Portal Allows Cross-Site Scripting (XSS) via the SimpleCaptcha API

  • Disclosed: 24.05.2022
  • Updated: 11.10.2026 12:21

In Liferay Portal before 7.1 CE GA4, an XSS vulnerability exists in the SimpleCaptcha API when custom code passes unsanitized input into the "url" parameter of the JSP taglib call <liferay-ui:captcha url="<%= url %>" /> or <liferay-captcha:captcha url="<%= url %>" />. Liferay Portal out-of-the-box behavior with no customizations is not vulnerable.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) com.liferay.portal:release.portal.bom < 7.1.0 7.1.0

References

CVSS score 4.7/10
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-79
Platform
Java / Kotlin (Maven)
Package
com.liferay.portal:release.portal.bom
Disclosed
24.05.2022
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-hwp2-gvm5-452f - CC BY 4.0

Vulnerability history: com.liferay.portal:release.portal.bom

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (159) in the archive
Total entries
159
First → latest
05.2021 10.2025
Without a fix
33
Exploited in attacks
0

Severity breakdown

  • Critical 18
  • High 25
  • Medium 115
  • Low 1

Disclosures per year

  1. 2021: 1
  2. 2022: 57
  3. 2023: 18
  4. 2024: 40
  5. 2025: 43
  6. 2026: 0
Severity:
  1. Liferay Portal Allows Cross-Site Scripting (XSS) via the SimpleCaptcha API this entry
    Medium · 4.7 CVE-2019-6588 < 7.1.0 7.1.0
  2. High CVE-2025-62260 >= 7.4.0-ga1, < 7.4.3.100 7.4.3.100
  3. High CVE-2025-62258 >= 7.4.0-ga1, < 7.4.3.108 7.4.3.108
  4. High CVE-2025-43748 >= 7.0.0-a1, < 7.4.3.120-ga120 7.4.3.120-ga120
  5. Critical · 9.0 CVE-2024-38002 >= 7.3.2-ga3, < 7.4.3.112-ga112 7.4.3.112-ga112
  6. Critical · 9.6 CVE-2024-8980 >= 7.0.0-a1, < 7.4.3.102-GA102 7.4.3.102-GA102
  7. Critical · 9.0 CVE-2023-47795 >= 7.4.3.18, < 7.4.3.102 7.4.3.102
  8. Critical · 9.0 CVE-2024-26266 < 7.4.3.14 7.4.3.14
  9. Critical · 9.0 CVE-2023-40191 >= 7.4.3.44, < 7.4.3.98 7.4.3.98
  10. Critical · 9.6 CVE-2023-42496 >= 7.3.3, < 7.4.3.98 7.4.3.98
  11. Critical · 9.6 CVE-2024-25147 <= 7.4.1 no fix
  12. Critical · 9.0 CVE-2024-25610 < 7.4.3.13 7.4.3.13
Show more (20) Showing 21 of 44

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.