{"items":[{"id":"NVI-00005155","kind":"vulnerability","title":"REDAXO: Stored XSS in Mediapool Sync Page via Unescaped Filesystem Filenames","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-w998-qmw9-mf4m","CVE-2026-63002"],"plain_summary":"OSV carries this publisher advisory for redaxo/source. 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 5.21.2 for redaxo/source. Confirm the publisher’s latest guidance.","source_ids":["sr-848ca1774ea6617e54358919eaf76067"],"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-848ca1774ea6617e54358919eaf76067","url":"https://github.com/advisories/GHSA-w998-qmw9-mf4m","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-w998-qmw9-mf4m","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.385Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-848ca1774ea6617e54358919eaf76067"],"technology":"redaxo/source","known_exclusions":[],"conditions_summary":"### Summary\nThe mediapool sync page (`sync.php`) renders filenames from the `/media` filesystem directory directly into HTML without applying `rex_escape()` (i.e., `htmlspecialchars`). Any file placed in the media directory whose filename contains HTML metacharacters will execute JavaScript in the browser of any backend user who views the sync page.\n\n### Details\nIn `redaxo/src/addons/mediapool/pages/sync.php`, the variable `$diffFiles` is populated from actual filesystem filenames (files in `/media/` not yet registered in the database). These filenames are then rendered without escaping:\n\n**File:** `redaxo/src/addons/mediapool/pages/sync.php:119-120`\n```php\nforeach ($diffFiles as $file) {\n    if (is_writable(rex_path::media($file))) {\n        $e = [];\n        $e['label'] = '' . $file . '';          // NO rex_escape!\n        $e['field'] = ''; // NO rex_escape!\n        $writable[] = $e;\n    } else {\n        $notWritable[] = $file;\n    }\n}\n```\n\n**File:** `redaxo/src/addons/mediapool/pages/sync.php:170`\n```php\n$fragment->setVar('body', '' . implode('', $notWritable) . '', false)","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 5.21.2"]}],"null_published_at":"2026-10-31T22:13:01.451Z","source_updated_at":"2026-09-23T14:15:04.364Z","source_disclosed_at":"2026-09-23T14:06:04.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:41.385Z"}],"next_cursor":null,"snapshot_revision":"42594"}