CVE-2026-30977: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in lihaohong6 RenderBlocking
RenderBlocking is a MediaWiki extension that allows interface administrators to specify render-blocking CSS and JavaScript. Prior to 0.1.1, there is Stored XSS in renderblocking-css with Inline Assets mode. $wgRenderBlockingInlineAssets = true and editsitecss user rights are required. This vulnerability is fixed in 0.1.1.
AI Analysis
Technical Summary
The RenderBlocking extension for MediaWiki, developed by lihaohong6, enables interface administrators to specify CSS and JavaScript that block rendering. Versions prior to 0.1.1 contain a stored cross-site scripting (XSS) vulnerability identified as CVE-2026-30977 (CWE-79). This vulnerability occurs specifically when the configuration variable $wgRenderBlockingInlineAssets is set to true, allowing inline assets mode. Exploitation requires the attacker to have editsitecss user rights, which are typically granted to trusted users with the ability to edit site-wide CSS. Under these conditions, an attacker can inject malicious JavaScript code into the renderblocking-css component, which is then stored and executed in the browsers of users who view the affected pages. The vulnerability impacts confidentiality and integrity by enabling script execution in the context of the MediaWiki site, potentially leading to session hijacking or unauthorized actions. However, the attack surface is limited by the need for high privileges and user interaction. The issue was publicly disclosed on March 10, 2026, and fixed in RenderBlocking version 0.1.1. No public exploits have been reported to date.
Potential Impact
The primary impact of this vulnerability is the potential for stored XSS attacks, which can lead to session hijacking, unauthorized actions on behalf of users, or defacement of the MediaWiki site. Since exploitation requires editsitecss rights, the risk is limited to environments where such privileges are granted to potentially untrusted users or where privilege escalation is possible. Organizations using vulnerable versions may face risks to the integrity and confidentiality of their MediaWiki installations, especially if the wiki is used for sensitive or internal information sharing. The availability impact is minimal as the vulnerability does not directly cause denial of service. Given the limited exploitability and requirement for high privileges, the overall risk to large organizations is low but non-negligible in environments with lax user privilege controls.
Mitigation Recommendations
To mitigate this vulnerability, organizations should upgrade the RenderBlocking extension to version 0.1.1 or later, where the issue is fixed. Additionally, review and restrict editsitecss user rights to only trusted administrators to minimize the risk of malicious code injection. Implement strict content security policies (CSP) to limit the execution of unauthorized scripts within the MediaWiki environment. Regularly audit user permissions and monitor for unusual edits to site-wide CSS or JavaScript. Employ web application firewalls (WAFs) that can detect and block XSS payloads. Finally, educate administrators about the risks of granting elevated privileges and the importance of applying security patches promptly.
Affected Countries
United States, Germany, United Kingdom, France, Japan, Canada, Australia, Netherlands, Sweden, South Korea
CVE-2026-30977: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in lihaohong6 RenderBlocking
Description
RenderBlocking is a MediaWiki extension that allows interface administrators to specify render-blocking CSS and JavaScript. Prior to 0.1.1, there is Stored XSS in renderblocking-css with Inline Assets mode. $wgRenderBlockingInlineAssets = true and editsitecss user rights are required. This vulnerability is fixed in 0.1.1.
AI-Powered Analysis
Technical Analysis
The RenderBlocking extension for MediaWiki, developed by lihaohong6, enables interface administrators to specify CSS and JavaScript that block rendering. Versions prior to 0.1.1 contain a stored cross-site scripting (XSS) vulnerability identified as CVE-2026-30977 (CWE-79). This vulnerability occurs specifically when the configuration variable $wgRenderBlockingInlineAssets is set to true, allowing inline assets mode. Exploitation requires the attacker to have editsitecss user rights, which are typically granted to trusted users with the ability to edit site-wide CSS. Under these conditions, an attacker can inject malicious JavaScript code into the renderblocking-css component, which is then stored and executed in the browsers of users who view the affected pages. The vulnerability impacts confidentiality and integrity by enabling script execution in the context of the MediaWiki site, potentially leading to session hijacking or unauthorized actions. However, the attack surface is limited by the need for high privileges and user interaction. The issue was publicly disclosed on March 10, 2026, and fixed in RenderBlocking version 0.1.1. No public exploits have been reported to date.
Potential Impact
The primary impact of this vulnerability is the potential for stored XSS attacks, which can lead to session hijacking, unauthorized actions on behalf of users, or defacement of the MediaWiki site. Since exploitation requires editsitecss rights, the risk is limited to environments where such privileges are granted to potentially untrusted users or where privilege escalation is possible. Organizations using vulnerable versions may face risks to the integrity and confidentiality of their MediaWiki installations, especially if the wiki is used for sensitive or internal information sharing. The availability impact is minimal as the vulnerability does not directly cause denial of service. Given the limited exploitability and requirement for high privileges, the overall risk to large organizations is low but non-negligible in environments with lax user privilege controls.
Mitigation Recommendations
To mitigate this vulnerability, organizations should upgrade the RenderBlocking extension to version 0.1.1 or later, where the issue is fixed. Additionally, review and restrict editsitecss user rights to only trusted administrators to minimize the risk of malicious code injection. Implement strict content security policies (CSP) to limit the execution of unauthorized scripts within the MediaWiki environment. Regularly audit user permissions and monitor for unusual edits to site-wide CSS or JavaScript. Employ web application firewalls (WAFs) that can detect and block XSS payloads. Finally, educate administrators about the risks of granting elevated privileges and the importance of applying security patches promptly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-07T17:53:48.816Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69b059afea502d3aa8817508
Added to database: 3/10/2026, 5:49:35 PM
Last enriched: 3/10/2026, 6:05:44 PM
Last updated: 3/13/2026, 6:29:23 AM
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.