GHSA-h2xq-h7f9-vh6c

Suggest an improvement
Source
https://github.com/advisories/GHSA-h2xq-h7f9-vh6c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-h2xq-h7f9-vh6c/GHSA-h2xq-h7f9-vh6c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h2xq-h7f9-vh6c
Aliases
Published
2026-03-04T18:16:14Z
Modified
2026-08-05T15:15:43Z
Severity
  • 9.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
  • 8.6 (High) CVSS_V4 - 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 CVSS Calculator
Summary
XWiki Blog Application home page vulnerable to Stored XSS via Post Title
Details

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

Attribution

Ɓukasz Rybak reported this vulnerability.

Database specific
{
    "cwe_ids":  [
        "CWE-116",
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-04T18:16:14Z",
    "nvd_published_at":  "2026-03-04T22:16:11Z",
    "severity":  "HIGH"
}
References

Affected packages

Maven / org.xwiki.contrib.blog:application-blog-ui

Package

Name
org.xwiki.contrib.blog:application-blog-ui
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.contrib.blog/application-blog-ui

Affected ranges

Type
ECOSYSTEM
Events
Introduced
9.15
Fixed
9.15.7

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-h2xq-h7f9-vh6c/GHSA-h2xq-h7f9-vh6c.json"