Appsecure logo

CVE-2026-28222: Medium Vulnerability in Torchbox Wagtail

A medium-severity stored cross-site scripting vulnerability has been identified in Torchbox Wagtail. Organizations using affected versions should prioritize patching to prevent potential exploitation.

MEDIUMCVSS 6.1 · Published March 5, 2026

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

Wagtail, an open-source content management system built on Django, has been found to contain a stored cross-site scripting (XSS) vulnerability affecting versions prior to 6.3.8, 7.0.6, 7.2.3, and 7.3.1. This vulnerability allows users with the ability to create or edit pages containing TableBlock StreamField blocks to embed specially crafted class attributes that execute arbitrary JavaScript when the page is viewed. If accessed by a user with higher privileges, it may lead to actions being performed with that user's credentials.

The vulnerability is not exploitable by ordinary site visitors who lack access to the Wagtail admin interface, making it crucial for organizations to understand the specific context in which this vulnerability may pose a risk. The affected versions have been patched in the latest releases, emphasizing the importance of keeping software up to date.

With a CVSS score of 6.1, this vulnerability is classified as medium severity. Organizations should address this issue promptly to mitigate risks associated with potential exploit attempts. The urgency for defenders is high, given the possible impact on user credentials and data integrity.

Patching is essential as the vulnerability's exploitation could lead to unauthorized actions being taken by malicious actors leveraging the XSS flaw. Organizations utilizing Wagtail should ensure they apply the necessary updates to their installations immediately.

Vulnerability Details

The vulnerability allows for stored cross-site scripting (XSS) through the rendering of TableBlock blocks within a StreamField. The official description indicates that attackers can exploit this vulnerability under specific conditions, particularly when the page is accessed by users with higher privileges, leading to potential credential misuse.

The CVSS score of 6.1 indicates a medium severity level, with high impacts on confidentiality and integrity. The vulnerability affects Wagtail versions prior to the specified patched releases.

Technical Analysis

The root cause of the vulnerability arises from insufficient sanitization of user input within the TableBlock component of Wagtail. This enables crafted class attributes to execute JavaScript when rendered in a browser. The attack vector is network-based with low complexity, requiring high privileges and user interaction for successful exploitation.

There is no requirement for additional privileges beyond those needed to create or edit content within the Wagtail admin. The attack does not impact the availability of the application but potentially compromises the confidentiality and integrity of user data.

Risk & Impact Analysis

Real-world deployment of this vulnerability poses a significant risk to organizations, particularly those that allow user-generated content. The blast radius could be considerable, affecting all users with access to the admin interface. Organizations should assess their implementation of Wagtail and prioritize patching to prevent potential exploitation.

Given the CVSS score of 6.1, the urgency for remediation is high. Organizations need to mitigate risks through prompt application of patches and updates to their systems. Failure to address this vulnerability may result in unauthorized access and data breaches.

Exploitation Status

Signal

Status

Known Exploit

No

Public PoC

No

Actively Exploited

No

Ransomware Use

No

Affected Versions

The vulnerability affects all versions of Wagtail prior to 6.3.8, 7.0.6, 7.2.3, and 7.3.1. Users are advised to upgrade to the latest versions to mitigate this vulnerability.

Mitigation & Remediation

Organizations should immediately patch their Wagtail installations to at least version 6.3.8, 7.0.6, 7.2.3, or 7.3.1 to rectify the vulnerability. Regularly updating software is essential for maintaining security.

If immediate patching is not possible, organizations should implement network controls to restrict access to the Wagtail admin interface, ensuring that only trusted users have access. Monitoring for unusual activities within the application may also help in identifying any exploit attempts.

For further security enhancements, organizations can refer to the security testing best practices outlined in our resources.

Detection Guidance

To detect potential exploitation of this vulnerability, organizations should monitor logs for unusual patterns, specifically looking for unexpected JavaScript execution in TableBlock content. Behavioral anomalies among users with elevated privileges should be investigated promptly.

AppSecure Threat Intelligence Insight

The detection of this XSS vulnerability in Wagtail indicates a critical area for improvement in user input validation. Organizations should learn from this incident to enhance the security posture of their applications. Implementing robust input sanitization practices is vital for preventing similar vulnerabilities in the future.

For continuous security assessment, organizations may consider our penetration testing services to identify further weaknesses in their applications.

penetration testing and regular system reviews can create a more resilient security framework.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.