CVE-2025-51991: XSS

Published Aug 20, 2025
·
Updated

XWiki through version 17.3.0 is vulnerable to Server-Side Template Injection (SSTI) in the Administration interface, specifically within the HTTP Meta Info field of the Global Preferences Presentation section. An authenticated administrator can inject crafted Apache Velocity template code, which is rendered on the server side without proper validation or sandboxing. This enables the execution of arbitrary template logic, which may expose internal server information or, in specific configurations, lead to further exploitation such as remote code execution or sensitive data leakage. The vulnerability resides in improper handling of dynamic template rendering within user-supplied configuration fields.

Affected Software

2 affected components
XWiki xwiki<=17.3.0
XWiki xwiki<=17.3.0

Event History

Aug 20, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-51991?

CVE-2025-51991 is considered a high-severity vulnerability due to the potential for remote code execution through Server-Side Template Injection.

2

How do I fix CVE-2025-51991?

To fix CVE-2025-51991, upgrade XWiki to a version later than 17.3.0 where the vulnerability has been patched.

3

Who is affected by CVE-2025-51991?

CVE-2025-51991 affects all XWiki instances up to and including version 17.3.0.

4

What type of vulnerability is CVE-2025-51991?

CVE-2025-51991 is classified as a Server-Side Template Injection (SSTI) vulnerability.

5

What could an attacker do with CVE-2025-51991?

An attacker with administrative access can exploit CVE-2025-51991 to execute arbitrary Apache Velocity template code on the server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203