{"items":[{"id":"NVI-00005963","kind":"vulnerability","title":"PHP-Textile has persistent XSS vulnerability in image link handling","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-95m2-chm4-mq7m"],"plain_summary":"OSV carries this publisher advisory for netcarver/textile. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 4.1.3 for netcarver/textile. Confirm the publisher’s latest guidance.","source_ids":["sr-a2bcffab03cd7e45602f0d60063bb5f9"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-a2bcffab03cd7e45602f0d60063bb5f9","url":"https://github.com/advisories/GHSA-95m2-chm4-mq7m","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-95m2-chm4-mq7m","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.680Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-a2bcffab03cd7e45602f0d60063bb5f9"],"technology":"netcarver/textile","known_exclusions":[],"conditions_summary":"### Details\n\nPersistent XSS vulnerability in image link handling of PHP-Textile versions 4.1.2 and older, when running the parser in restricted mode. In restricted mode it is expected that the input would be sanitized, allowing user-input (such as user comments) to be parsed and handled safely by the PHP-Textile library.\n\nIn restricted mode, the version 4.1.2 of the library does not sanitize or validate user-controllable href input in image links, but allows any link protocol or JavaScriptt links to be used. The vulnerability allows an attacker to add malicious JavaScript code to the page which is then executed when an unexpecting user clicks the link.\n\nIn non-restricted mode, the library allows mixed HTML input, and any link protocol by design. In restricted mode, text links were already handled correctly and the vulnerability only affects image links.\n\n### Resolution\n\nThis issue was fixed in PHP-Textile version 4.1.3. Version 4.1.3 disallows use of JavaScript in image links when the parser is ran in restricted mode. Restricted mode can be enabled with `Parser::setRestricted()` method prior to calling the `parse` method. For more information, see **Parsing unstructed input** in th","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 4.1.3"]}],"null_published_at":"2026-10-31T22:13:05.854Z","source_updated_at":"2025-01-07T17:28:16.014Z","source_disclosed_at":"2025-01-07T17:11:02.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:10.680Z"}],"next_cursor":null,"snapshot_revision":"42594"}