Intel

AIKIDO-2026-865125

netcarver/textile is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)GHSA-8c32-52rh-j928 Published Aug 25, 2026

73

High Risk

This Affects:

PHPnetcarver/textile
0.0.1 - 4.1.4
Fixed in 4.1.5
Are you affected? Scan for Free

TL;DR

PHP-Textile parses the citation span syntax and copies the user-supplied cite value into the generated cite attribute after only trimming it, without encoding HTML special characters. Untrusted Textile markup can supply a cite value containing quotes and angle brackets that break out of the attribute context and inject arbitrary HTML attributes and script. This yields stored cross-site scripting even when the parser runs in restricted mode intended to make untrusted input safe. The fix HTML-encodes special characters in the cite attribute value before rendering.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you render Textile markup from untrusted or user-controlled input.

Background info

netcarver/textile is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 4.1.4.

How to fix this

Upgrade the netcarver/textile library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform