Meta tags:
description= Description Angular SSR can select server-route metadata from one route while Angular Router renders a different route when the request URL contains certain ambiguous path forms. Example: /profile; /profile//public In both cases, a route...;
Headings (most frequently used words):
navigation, description, metadata, footer, minimal, behavior, angular, ssr, route, policy, confusion, can, expose, client, only, data, under, public, cache, headers, 33555, menu, repository, activity, issue, actions, reproduction, configuration, steps, to, reproduce, actual, expected, your, environment, anything, else, relevant, glivter, commented, on, sep, 14, 2026, assignees, labels, type, projects, milestone, relationships, development,
Text of the page (most frequently used words):
the (52), and (27), #angular (22), route (21), issue (20), github (14), #public (13), this (12), cache (11), profile (11), that (10), ssr (10), rendermode (10), triaged (9), gemini (9), for (9), headers (9), page (9), not (8), 2026 (8), request (8), router (8), can (7), label (7), has (7), path (7), control (7), with (7), server (7), client (7), noting (6), been (6), priv (6), rendered (6), session (6), share (5), information (5), status (5), security (5), copilot (5), actions (5), one (5), sign (5), under (5), policy (5), reproduce (5), your (5), another (5), code (5), you (4), type (4), metadata (4), added (4), through (4), which (4), from (4), are (4), private (4), max (4), age (4), all (4), jul (4), cannot (4), given (4), expose (4), data (4), only (4), support (4), navigation (3), open (3), requests (3), needstriage (3), milestone (3), projects (3), area (3), url (3), sep (3), glivter (3), because (3), matched (3), content (3), immutable (3), steps (3), derived (3), curl (3), http (3), localhost (3), 4000 (3), cookie (3), private_value (3), serverroute (3), copy (3), link (3), 33555 (3), confusion (3), quality (3), tab (3), window (3), refresh (3), reload (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), build (3), community (2), footer (2), pull (2), development (2), labels (2), account (2), commit (2), 6d6decb (2), will (2), fix (2), own (2), before (2), both (2), parentheses (2), place (2), rather (2), than (2), case (2), divergent (2), other (2), what (2), after (2), attacker (2), long (2), store (2), 31536000 (2), add (2), single (2), sweep (2), paths (2), two (2), input (2), against (2), string (2), getpathsegments (2), divergence (2), search (2), 34090 (2), more (2), needs (2), repro (2), robot (2), issues (2), configured (2), select (2), body (2), behavior (2), initial (2), html (2), component (2), crafted (2), 300 (2), minimal (2), while (2), description (2), new (2), insights (2), 196 (2), repository (2), cli (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), learn (2), business (2), fixes (2), products (2), secret (2), perform, action, time, personal, manage, cookies, contact, docs, privacy, terms, inc, app, branches, none, yet, relationships, due, date, assigned, assignees, comment, already, have, join, conversation, free, references, close, once, merged, into, main, branch, resolve, normalises, pathname, serializer, tokenising, matchers, agree, covers, way, handled, matrix, parameter, symptom, tests, cover, spellings, were, confirmed, fail, change, repoint, 85c18b4, stripmatrixparams, serverrouter, match, there, 34091, guards, still, run, sees, ordinary, authorization, bypass, canactivate, affected, spreads, takes, handlerendering, selected, too, line, three, year, mangled, segment, list, normally, any, pattern, fits, selectable, lived, sub, prefix, applications, routinely, links, print, views, picks, borrow, just, catch, names, same, thing, valid, spelling, deliberately, made, unnamed, group, mean, primary, outlet, enumerated, over, printable, ascii, character, triggers, exactly, differential, 1575, produced, root, shapes, 64507, part, class, resolves, metacharacters, unparseable, silently, discarded, verified, published, serialize, parse, defaulturlserializer, decodeuricomponent, map, boolean, filter, split, return, routetree, grammar, name, posting, additional, coverage, here, lost, since, some, original, report, confirming, independently, apologising, duplicate, filed, months, prior, art, missed, finds, immediately, had, searched, vocabulary, tree, tokenisation, matcher, words, reporter, would, use, closing, favour, commented, removed, alan, agius4, activity, was, previously, reported, https, issuetracker, google, com, 518988455, anything, else, relevant, environment, should, alternative, representation, used, response, must, always, correspond, whose, expected, apply, belonging, render, actual, either, does, contain, value, normal, reads, benign, marker, token, serverroutes, const, export, import, configuration, reproduction, cases, unexpectedly, inheriting, example, renders, different, when, contains, certain, ambiguous, forms, opened, skyzerozx, items, message, dismiss, alert, switched, accounts, out, appearance, settings, pricing, event, talks, workshops, next, partners, about, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, source, latest, improvements, across, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, work, hosting, review, collaboration, platform, menu, skip,
Text of the page (random words):
angular ssr route policy confusion can expose client only data under public cache headers issue 33555 angular angular cli github skip to content navigation menu sign in products platform github repository hosting code review and collaboration copilot ai coding agent for tasks projects and automated work build ship actions ci cd and automation code quality quality analysis fixes and enforcement codespaces cloud development environments secure code security vulnerability detection and remediation secret protection secret scanning and leak prevention all features developers learn documentation training certifications build build with copilot customize copilot integrations explore trending repos github sponsors developer articles changelog changelog your source for the latest features improvements and fixes across github products all in one place businesses by stage enterprises team startups nonprofits by industry healthcare financial services manufacturing government see all industries evaluate github why github customer stories business insights trust center add ons github advanced security enterprise grade code security copilot for business enterprise grade ai features premium support enterprise grade 24 7 support resources learn connect documentation resource center blog events webinars community forum customer stories integrations support customer support training github status company about partners changelog github universe github universe the event for developers by developers talks workshops and what s next for github pricing search sign in sign up appearance settings you signed in with another tab or window reload to refresh your session you signed out in another tab or window reload to refresh your session you switched accounts on another tab or window reload to refresh your session dismiss alert message angular angular cli repository navigation code issues 196 196 pull requests 20 20 actions security and quality 8 8 insights more items angular ssr route policy confusion can expose client only data under public cache headers 33555 new issue copy link new issue copy link open open angular ssr route policy confusion can expose client only data under public cache headers 33555 copy link labels area angular ssr gemini triaged label noting that an issue has been triaged by gemini label noting that an issue has been triaged by gemini milestone needstriage description skyzerozx opened on jul 12 2026 issue body actions description angular ssr can select server route metadata from one route while angular router renders a different route when the request url contains certain ambiguous path forms example profile profile public in both cases a route configured as rendermode client can be unexpectedly rendered on the server while inheriting public cache headers from another serverroute minimal reproduction minimal configuration import rendermode serverroute from angular ssr export const serverroutes serverroute path profile rendermode rendermode client headers cache control private no store path profile public rendermode rendermode server headers cache control public max age 300 path rendermode rendermode server headers cache control public max age 300 the profile component reads a benign request derived marker through the ssr request token steps to reproduce request the normal client only route curl i h cookie session private_value http localhost 4000 profile the initial html does not contain the request derived value request either crafted path curl i h cookie session private_value http localhost 4000 profile curl i h cookie session private_value http localhost 4000 profile public actual behavior the crafted requests can render the profile component on the server expose request derived data in the initial html apply cache control public metadata belonging to another server route expected behavior the route used to select rendermode status and response headers must always correspond to the route whose body is rendered a route configured as rendermode client should not be server rendered through an alternative url representation your environment angular 22 x anything else relevant this was previously reported at https issuetracker google com u 1 issues 518988455 activity angular robot added area angular ssr gemini triaged label noting that an issue has been triaged by gemini label noting that an issue has been triaged by gemini on jul 12 2026 angular robot added this to the needstriage milestone on jul 12 2026 alan agius4 added needs repro steps we cannot reproduce the issue with the information given we cannot reproduce the issue with the information given and removed needs repro steps we cannot reproduce the issue with the information given we cannot reproduce the issue with the information given on jul 13 2026 glivter commented on sep 14 2026 glivter on sep 14 2026 more actions confirming this independently and apologising for the duplicate i filed 34090 two months after this and my prior art sweep missed it a single search for route policy finds this issue immediately i had searched my own vocabulary route tree tokenisation and matcher divergence rather than the words a reporter would use that is on me and i am closing 34090 in favour of this one posting the additional coverage here so it is not lost since some of it is not in the original report the other grammar has a name the divergence is routetree getpathsegments private getpathsegments route string string return route split filter boolean map decodeuricomponent against angular router s defaulturlserializer in which and are metacharacters and unparseable input is silently discarded verified against the published angular router 22 1 6 serialize parse x input router resolves to page page page page page page page page a 1 b a 1 a b c d a b parentheses are part of the class this issue names and and do the same thing and profile is a valid spelling of profile because angular angular 64507 deliberately made an unnamed group mean the primary outlet enumerated over printable ascii the single character triggers are exactly and a differential sweep of 1575 paths produced 80 divergent paths in two root shapes the attacker picks which route s policy to borrow not just the catch all the mangled segment list is matched normally so any route pattern that fits it is selectable with a long lived public sub route under a private prefix which applications routinely add for share links and print views priv 1 cache control no store private rendered priv id priv 1 share cache control public max age 31536000 immutable rendered priv id share priv 1 share cache control public max age 31536000 immutable rendered priv id line three is the account page under a year long immutable label content type and status are attacker selected too because handlerendering spreads the matched route s headers after content type and takes status from the matched route what is not affected canactivate and the other router guards still run because angular router sees an ordinary path not an authorization bypass there is a fix in 34091 which normalises the pathname through the router s own serializer in serverrouter match before tokenising so both matchers agree it covers and the parentheses in one place rather than case by case the way stripmatrixparams handled the matrix parameter symptom in 85c18b4 tests cover the divergent spellings and were confirmed to fail before the change i will repoint it at this issue glivter added a commit that references this issue on sep 14 2026 fix angular ssr resolve the request path through the router s url this issue will close once commit 6d6decb is merged into the main branch 6d6decb sign up for free to join this conversation on github already have an account sign in to comment metadata metadata assignees no one assigned labels area angular ssr gemini triaged label noting that an issue has been triaged by gemini label noting that an issue has been triaged by gemini type no type projects no projects milestone needstriage no due date relationships none yet development no branches or pull requests issue actions open in github copilot app footer 2026 github inc footer navigation terms privacy security status community docs contact manage cookies do not share my personal information you can t perform that action at this time
|