CVE-2026-77325
>_ Opis
Tłumaczenie automatyczne – może zawierać nieścisłości.
MapServer to system do tworzenia internetowych aplikacji GIS. Od wersji 6.0 do 8.6.5, dane wyjściowe MapServer WMS OpenLayers, wybrane przez FORMAT=application/openlayers lub template=openlayers, podmieniają wartość zasobu online pochodzącą z żądania na ciąg JavaScript ujęty w pojedynczy cudzysłów w src/maptemplate.c. Poprzednie rozwiązanie problemu GHSA-xqj6-vjqr-33vv wykorzystywało msEscapeJSonLikeString() do ochrony ciągu JavaScript, ale nie neutralizowało nawiasów ostrych, więc kontrolowane przez atakującego wartości X-Forwarded-Host lub X-Forwarded-Proto mogą nadal zakończyć element skryptu w warstwie analizatora HTML. Dotyczy to również wdrożeń, które ujawniają kontrolowane przez osobę atakującą wartości PATH_INFO lub map= osiągające ten sam ciąg. Nieuwierzytelniony atakujący może spowodować wykonanie dowolnego kodu JavaScript w przeglądarce ofiary w pochodzeniu MapServer, gdy ofiara załaduje spreparowane dane wyjściowe. Ten problem został rozwiązany w wersji 8.6.5.
>_ Słabości (CWE)
>_ Referencje
- https://github.com/MapServer/MapServer/commit/2e4229ff66f6eac1b270755a0ce0ce8debee4432
- https://github.com/MapServer/MapServer/commit/57a5d592a4270137c20f33459d59d370b5374426
- https://github.com/MapServer/MapServer/pull/7544
- https://github.com/MapServer/MapServer/pull/7554
- https://github.com/MapServer/MapServer/releases/tag/rel-8-6-5
- https://github.com/MapServer/MapServer/security/advisories/GHSA-52rr-p4x5-2x6x
Dane podatności pochodzą z oficjalnych źródeł (CVE® List / NVD). Opisy po polsku są tłumaczone automatycznie i mogą zawierać nieścisłości – na stronie rekordu można wyświetlić wersję angielską.
This product uses the NVD API but is not endorsed or certified by the NVD.
Copyright © 1999–2026, The MITRE Corporation. CVE is a registered trademark and the CVE logo is a registered trademark of The MITRE Corporation.
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. ALL DOCUMENTS AND THE INFORMATION CONTAINED THEREIN PROVIDED BY MITRE ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
NVD Terms of Use / CVE® Terms of Use / nvd.nist.gov / cve.org