{"data":{"id":"magento2-33876","source":"github-pr","sourceRef":"magento/magento2#33876","title":"fix: avoid direct access to reviews list AJAX","pr":{"number":33876,"url":"https://github.com/magento/magento2/pull/33876","author":"Amadeco","mergedAt":"2025-06-18T09:32:39Z","mergeCommit":"14a03dc72fc5525f3bf2d93129dee2b8d9330e05","headCommit":"b4356e43580d36ddc7b595ae6b4e882bbb80c57c","baseRef":"2.4-develop","diffSha256":"49c410ba191b907970abe487355ac3f36c32aac4277b09bb1774ceafe323ac8e"},"issues":[{"number":37920,"url":"https://github.com/magento/magento2/issues/37920","title":"[Issue] Avoid direct access to reviews list Ajax","labels":["Area: UI Framework","Component: Review","Issue: Confirmed","Priority: P3","Progress: PR in progress","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x"],"kind":"pr-derived"}],"fixedIn":"2.4.9","containingTags":["2.4.9"],"reportedOn":null,"codeMatch":{"2.4.6":"clean","2.4.6-p1":"clean","2.4.6-p2":"clean","2.4.6-p3":"clean","2.4.6-p4":"clean","2.4.6-p5":"clean","2.4.6-p6":"clean","2.4.6-p7":"clean","2.4.6-p8":"clean","2.4.6-p9":"clean","2.4.6-p10":"clean","2.4.6-p11":"clean","2.4.6-p12":"clean","2.4.6-p13":"clean","2.4.6-p14":"clean","2.4.6-p15":"clean","2.4.7":"clean","2.4.7-p1":"clean","2.4.7-p2":"clean","2.4.7-p3":"clean","2.4.7-p4":"clean","2.4.7-p5":"clean","2.4.7-p6":"clean","2.4.7-p7":"clean","2.4.7-p8":"clean","2.4.7-p9":"clean","2.4.7-p10":"clean","2.4.8":"clean","2.4.8-p1":"clean","2.4.8-p2":"clean","2.4.8-p3":"clean","2.4.8-p4":"clean","2.4.8-p5":"clean","2.4.9":"conflict"},"affectedVersions":["2.4.6","2.4.6-p1","2.4.6-p2","2.4.6-p3","2.4.6-p4","2.4.6-p5","2.4.6-p6","2.4.6-p7","2.4.6-p8","2.4.6-p9","2.4.6-p10","2.4.6-p11","2.4.6-p12","2.4.6-p13","2.4.6-p14","2.4.6-p15","2.4.7","2.4.7-p1","2.4.7-p2","2.4.7-p3","2.4.7-p4","2.4.7-p5","2.4.7-p6","2.4.7-p7","2.4.7-p8","2.4.7-p9","2.4.7-p10","2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5"],"components":["magento/module-review"],"files":[{"path":"app/code/Magento/Review/Controller/Product/ListAjax.php","change":"modified","package":"magento/module-review"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":8,"mergeBatched":false,"excluded":null,"sections":{"description":"Do not know wether it is intentional,\nBut you can access directly to the reviews list Ajax controller however all others controllers for Ajax URL has a conditional test in code.","stepsToReproduce":"You can give it a try :\n/review/product/listAjax/id/9999\n=> Display the raw output in the browser.\n\n(9999 = product if from store)","expectedResult":null,"actualResult":null,"source":"pr"},"signatures":[],"labels":{"area":["UI Framework"],"component":["Review"],"priority":"P3","severity":null,"reportedOn":["2.4.x"]},"categories":["Catalog/Product"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"43c16968532f830e22a4916f376291fa535eadb4579754b12affaece6e1a2268","isBugfix":0.747,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.8512,"feature":0.031,"refactor":0.0607,"tests_only":0.0099,"docs_only":0.0067,"dependency":0.0061,"cleanup":0.0344},"confidence":0.6857},"scope":{"score":0.4225,"probabilities":{"0":0.6224,"1":0.3328,"2":0.0448},"confidence":0.2502},"risk":{"score":0.1167,"probabilities":{"0":0.9026,"1":0.078,"2":0.0194},"confidence":0.7318},"area":{"choice":"frontend","probabilities":{"catalog":0.1959,"checkout":0.0198,"customer":0.0438,"admin":0.0791,"graphql_api":0.0785,"framework":0.0497,"frontend":0.3275,"other":0.2057},"confidence":0.0916},"securityRelevant":0.1504,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.006,"2.4.0-p1":0.0063,"2.4.1":0.007,"2.4.1-p1":0.0077,"2.4.2":0.0121,"2.4.2-p1":0.0119,"2.4.2-p2":0.0113,"2.4.3":0.0217,"2.4.3-p1":0.0184,"2.4.3-p2":0.0175,"2.4.3-p3":0.011,"2.4.4":0.0232,"2.4.4-p1":0.0272,"2.4.4-p10":0.0084,"2.4.4-p11":0.011,"2.4.4-p12":0.009,"2.4.4-p13":0.0093,"2.4.4-p14":0.0107,"2.4.4-p15":0.0075,"2.4.4-p16":0.0082,"2.4.4-p17":0.007,"2.4.4-p18":0.0067,"2.4.4-p2":0.0041,"2.4.4-p3":0.006,"2.4.4-p4":0.0055,"2.4.4-p5":0.0055,"2.4.4-p6":0.0055,"2.4.4-p7":0.0051,"2.4.4-p8":0.0061,"2.4.4-p9":0.005,"2.4.5":0.0177,"2.4.5-p1":0.0158,"2.4.5-p10":0.0079,"2.4.5-p11":0.0116,"2.4.5-p12":0.0093,"2.4.5-p13":0.0086,"2.4.5-p14":0.0099,"2.4.5-p15":0.0074,"2.4.5-p16":0.007,"2.4.5-p17":0.0072,"2.4.5-p2":0.0047,"2.4.5-p3":0.0063,"2.4.5-p4":0.0073,"2.4.5-p5":0.0055,"2.4.5-p6":0.0069,"2.4.5-p7":0.0065,"2.4.5-p8":0.0051,"2.4.5-p9":0.0046,"2.4.6":0.0223,"2.4.6-p1":0.0194,"2.4.6-p10":0.0081,"2.4.6-p11":0.0114,"2.4.6-p12":0.0095,"2.4.6-p13":0.0085,"2.4.6-p14":0.0081,"2.4.6-p15":0.0067,"2.4.6-p2":0.005,"2.4.6-p3":0.0076,"2.4.6-p4":0.0085,"2.4.6-p5":0.0074,"2.4.6-p6":0.0091,"2.4.6-p7":0.0079,"2.4.6-p8":0.0061,"2.4.6-p9":0.0045,"2.4.7":0.011,"2.4.7-p1":0.0086,"2.4.7-p10":0.0065,"2.4.7-p2":0.0072,"2.4.7-p3":0.0125,"2.4.7-p4":0.0135,"2.4.7-p5":0.0118,"2.4.7-p6":0.013,"2.4.7-p7":0.0094,"2.4.7-p8":0.0066,"2.4.7-p9":0.0049,"2.4.8":0.01,"2.4.8-p1":0.0099,"2.4.8-p2":0.0116,"2.4.8-p3":0.0127,"2.4.8-p4":0.01,"2.4.8-p5":0.0104,"2.4.9":0.0105,"unspecified":0.2186},"confidence":0.0454},"backportWorthy":{"score":1.1953,"probabilities":{"0":0.2586,"1":0.2874,"2":0.454},"confidence":0.0334}},"curated":{"title":"Fixes the reviews list Ajax page showing raw output when opened directly","description":"You can access the reviews list Ajax controller directly at /review/product/listAjax/id/9999 and get the raw output in the browser, however all others controllers for Ajax URL have a conditional test in code. The Review ListAjax controller now does a forward to noroute when the call is not Ajax, to restrain this page to Ajax only.","categories":["Catalog/Product"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-33876 details"}