Vulnerabilities in pkg:maven/org.xwiki.contrib.blog/application-blog-ui

PACKAGE
Advisory Identifier: GHSA-h2xq-h7f9-vh6c
Advisory Summary

CVE-2025-66024 is a HIGH (CVSS 9.0) cross-site scripting vulnerability (CWE-116: Improper Encoding or Escaping of Output) affecting Application blog ui libraries in the Maven ecosystem. The issue involves xwiki blog application home page vulnerable to stored xss via post title. Remediation is available by upgrading affected packages to version 9.15.7.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.xwiki.contrib.blog/application-blog-ui

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.xwiki.contrib.blog/application-blog-ui. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-h2xq-h7f9-vh6c CVE-2025-66024 HIGH XWiki Blog Application home page vulnerable to Stored XSS via Post Title
GHSA-gwj6-xpfg-pxwr CVE-2025-58365 HIGH XWiki Blog Application: Privilege Escalation (PR) from account through blog content

CVE-2025-66024 at a Glance

CVE Identifier CVE-2025-66024
GHSA Identifier GHSA-h2xq-h7f9-vh6c
Severity HIGH
CVSS v3.1 Base Score 9.0
CWE Classification CWE-116: Improper Encoding or Escaping of Output
Affected Product Application blog ui
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-66024

To remediate this vulnerability, upgrade all affected Application blog ui dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.xwiki.contrib.blog:application-blog-ui fixed: 9.15.7
<dependency>
    <groupId>org.xwiki.contrib.blog</groupId>
    <artifactId>application-blog-ui</artifactId>
    <version>9.15.7</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.xwiki.contrib.blog

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-66024, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.xwiki.contrib.blog

Analyze the terminal output to locate any version of Application blog ui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.15.7), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.xwiki.contrib.blog command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-116: Improper Encoding or Escaping of Output, where the product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. as a result, the intended structure of the message is not preserved. In Application blog ui, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact The Blog Application is vulnerable to Stored Cross-Site Scripting (XSS) via the Blog Post Title. The vulnerability arises because the post title is injected directly into the HTML `<title>` tag without proper escaping. An attacker with permissions to create or edit blog posts can inject malicious JavaScript into the title field. This script will execute in the browser of any user (including administrators) who views the blog post. This leads to potential session hijacking or privilege escalation. To reproduce: * Log in as a user with rights to create blog posts. * Create a new blog post. * In the Title field, insert the following payload designed to break out of the title tag: ```</title><script>alert('XSS in title blog')</script>``` * Save (Publish) the post. * View the post in the blog home page ### Patches The vulnerability has been patched in the blog application version 9.15.7 by adding missing escaping. ### Workarounds We're not aware of any workarounds. ### References * https://jira.xwiki.org/browse/BLOG-245 * https://github.com/xwiki-contrib/application-blog/commit/cca87f0a0edc2e7e049d46d51f4a4d8f78b714ba ### Attribution Łukasz Rybak reported this vulnerability.

CVE-2025-66024 Affected Application blog ui Versions

1 component(s)
Fixed Versions:
9.15.7
Product / Package Ecosystem Affected Versions Fixed Version
org.xwiki.contrib.blog:application-blog-ui
Maven
≥ 9.15
< 9.15.7
9.15.7

References

Frequently Asked Questions

What is CVE-2025-66024?
CVE-2025-66024 is a security vulnerability in Application blog ui involving XWiki Blog Application home page vulnerable to Stored XSS via Post Title under CWE-116: Improper Encoding or Escaping of Output.
Which Application blog ui versions are affected?
Affected versions include releases prior to 9.15.7 across affected packages: org.xwiki.contrib.blog:application-blog-ui.
What version fixes CVE-2025-66024?
Upgrading to 9.15.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is application-blog-ui affected?
Yes, org.xwiki.contrib.blog:application-blog-ui is affected in releases prior to 9.15.7. Upgrade your dependency to 9.15.7 or later.
What is the CVSS score of CVE-2025-66024?
CVE-2025-66024 has a CVSS v3.1 base score of 9.0 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2025-66024?
CVE-2025-66024 is classified under CWE-116: Improper Encoding or Escaping of Output (The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.).
How can I check Maven dependencies for CVE-2025-66024?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.xwiki.contrib.blog'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-h2xq-h7f9-vh6c",
  "modified" : "2026-08-05T15:02:50Z",
  "published" : "2026-03-04T18:16:14Z",
  "aliases" : [ "CVE-2025-66024" ],
  "summary" : "XWiki Blog Application home page vulnerable to Stored XSS via Post Title",
  "details" : "### Impact\n\nThe Blog Application is vulnerable to Stored Cross-Site Scripting (XSS) via the Blog Post Title. The vulnerability arises because the post title is injected directly into the HTML `<title>` tag without proper escaping.\n\nAn attacker with permissions to create or edit blog posts can inject malicious JavaScript into the title field. This script will execute in the browser of any user (including administrators) who views the blog post. This leads to potential session hijacking or privilege escalation.\n\nTo reproduce:\n\n* Log in as a user with rights to create blog posts.\n* Create a new blog post.\n* In the Title field, insert the following payload designed to break out of the title tag: ```</title><script>alert('XSS in title blog')</script>```\n* Save (Publish) the post.\n* View the post in the blog home page\n\n### Patches\nThe vulnerability has been patched in the blog application version 9.15.7 by adding missing escaping.\n\n### Workarounds\nWe're not aware of any workarounds.\n\n### References\n* https://jira.xwiki.org/browse/BLOG-245\n* https://github.com/xwiki-contrib/application-blog/commit/cca87f0a0edc2e7e049d46d51f4a4d8f78b714ba\n\n### Attribution\n\nŁukasz Rybak reported this vulnerability.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.contrib.blog:application-blog-ui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.15"
      }, {
        "fixed" : "9.15.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/xwiki-contrib/application-blog/security/advisories/GHSA-h2xq-h7f9-vh6c"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-66024"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/xwiki-contrib/application-blog/commit/cca87f0a0edc2e7e049d46d51f4a4d8f78b714ba"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/xwiki-contrib/application-blog/commit/cdcbf2816e9b329e8f006be4391a7ffe80d4bb3f"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/xwiki-contrib/application-blog"
  }, {
    "type" : "WEB",
    "url" : "https://jira.xwiki.org/browse/BLOG-245"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-116", "CWE-79" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-04T18:16:14Z",
    "nvd_published_at" : "2026-03-04T22:16:11Z"
  }
}