GitHub Advisoryadvisory · Packagist
GHSA-jfj7-249r-7j2m TabberNeue vulnerable to Stored XSS through wikitext
HIGH
Official page ↗
- Aliases
- CVE-2025-53093
- Ecosystem
- Packagist
- Packages
- starcitizentools/tabber-neue
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- Weaknesses
- CWE-79, CWE-80
- Reviewed
- 2025-06-27
Affected packages
• Packagist starcitizentools/tabber-neue: >= 3.0.0, < 3.1.1 → fixed in 3.1.1
Description
Summary
Arbitrary HTML can be inserted into the DOM by inserting a payload into any allowed attribute of the `` tag.
Details
The `args` provided within the wikitext as attributes to the `` tag are passed to the TabberComponentTabs class:
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue/blob/3a23b703ce36cfc4128e7921841f68230be4059a/includes/Tabber.php#L76
In TabberComponentTabs, the attributes are validated before being supplied to the Tabs template.
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue/blob/3a23b703ce36cfc4128e7921841f68230be4059a/includes/Components/TabberComponentTabs.php#L15-L31
However, the validation is insufficient.
What `Sanitizer::validateTagAttributes` does is call `validateAttributes`, which
```
• - Discards attributes not on the given list
• - Unsafe style attributes are discarded
• - Invalid id attributes are re-encoded
```
However, the attribute values are expected to be escaped when inserted into HTML.
The attribute values are then inserted into HTML without being escaped:
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue/blob/3a23b703ce36cfc4128e7921841f68230be4059a/includes/templates/Tabs.mustache#L1
PoC
XSS through attributes:
1. Go to Special:ExpandTemplates and insert the following wikitext:
```
|-|First Tab Title=
First tab content goes here.
```
2. Press "OK"
3. Hover over the tabber
XSS through script tags:
1. Go to Special:ExpandTemplates and insert the following wikitext:
```
|-|First Tab Title=
First tab content goes here.
```
2. Press "OK"
Impact
Arbitrary HTML can be inserted into the DOM by any user, allowing for JavaScript to be executed.
Related
Alias · CVE (1)
- CVE-2025-53093 TabberNeue is a MediaWiki extension that allows the wiki to create tabs. vulnerability
References
- https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue/security/advisories/GHSA-jfj7-249r-7j2m web
- https://nvd.nist.gov/vuln/detail/CVE-2025-53093 advisory
- https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue/commit/4cdf217ef96da74a1503d1dd0bb0ed898fc2a612 web
- https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue/commit/62ce0fcdf32bd3cfa77f92ff6b940459a14315fa web
- https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue package
- https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue/blob/3a23b703ce36cfc4128e7921841f68230be4059a/includes/Components/TabberComponentTabs.php#L15-L31 web
- https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue/blob/3a23b703ce36cfc4128e7921841f68230be4059a/includes/Tabber.php#L76 web
- https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue/blob/3a23b703ce36cfc4128e7921841f68230be4059a/includes/templates/Tabs.mustache#L1 web