{"api_version":"1","generated_at":"2026-07-23T06:07:53+00:00","cve":"CVE-2007-4542","urls":{"html":"https://cve.report/CVE-2007-4542","api":"https://cve.report/api/cve/CVE-2007-4542.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-4542","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-4542"},"summary":{"title":"CVE-2007-4542","description":"Multiple cross-site scripting (XSS) vulnerabilities in MapServer before 4.10.3 allow remote attackers to inject arbitrary web script or HTML via unspecified vectors involving the (1) processLine function in maptemplate.c and the (2) writeError function in mapserv.c in the mapserv CGI program.","state":"PUBLISHED","assigner":"mitre","published_at":"2007-08-27 21:17:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-79","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.3","severity":"","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"}}],"references":[{"url":"http://trac.osgeo.org/mapserver/ticket/2256","name":"http://trac.osgeo.org/mapserver/ticket/2256","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"#2256 (XSS vulnerabilities in mapserv CGI) - MapServer - Trac","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439346","name":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439346","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"#439346 - XSS issue - Debian Bug report logs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00096.html","name":"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00096.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 7 Update: mapserver-4.10.3-2.fc7","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.vupen.com/english/advisories/2007/2974","name":"http://www.vupen.com/english/advisories/2007/2974","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Webmail : Solution de messagerie professionnelle - OVHcloud- OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/26718","name":"http://secunia.com/advisories/26718","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Fedora update for mapserver - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/29688","name":"http://secunia.com/advisories/29688","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian update for mapserver - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://mapserver.gis.umn.edu/download/current/HISTORY.TXT/","name":"http://mapserver.gis.umn.edu/download/current/HISTORY.TXT/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Change Log for MapServer 5.0.0\n        —\n        UMN MapServer","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/25582","name":"http://www.securityfocus.com/bid/25582","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"MapServer Multiple Remote Vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://trac.osgeo.org/mapserver/attachment/ticket/2256/ms-bug-2256-4.8.patch","name":"http://trac.osgeo.org/mapserver/attachment/ticket/2256/ms-bug-2256-4.8.patch","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"ms-bug-2256-4.8.patch on Ticket #2256 – Attachment\n     – MapServer","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2008/dsa-1539","name":"http://www.debian.org/security/2008/dsa-1539","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian -- Security Information -- DSA-1539-1 mapserver","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/26561","name":"http://secunia.com/advisories/26561","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"MapServer Multiple Vulnerabilities - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-4542","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-4542","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2007","cve_id":"4542","vulnerable":"1","versionEndIncluding":"4.10.3","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"university_of_minnesota","cpe5":"mapserver","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T15:01:09.799Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"http://trac.osgeo.org/mapserver/attachment/ticket/2256/ms-bug-2256-4.8.patch"},{"name":"29688","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/29688"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://mapserver.gis.umn.edu/download/current/HISTORY.TXT/"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://trac.osgeo.org/mapserver/ticket/2256"},{"name":"26561","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/26561"},{"name":"26718","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/26718"},{"name":"FEDORA-2007-2018","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00096.html"},{"name":"ADV-2007-2974","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2007/2974"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439346"},{"name":"25582","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/25582"},{"name":"DSA-1539","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2008/dsa-1539"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2007-08-22T00:00:00.000Z","descriptions":[{"lang":"en","value":"Multiple cross-site scripting (XSS) vulnerabilities in MapServer before 4.10.3 allow remote attackers to inject arbitrary web script or HTML via unspecified vectors involving the (1) processLine function in maptemplate.c and the (2) writeError function in mapserv.c in the mapserv CGI program."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2008-04-17T09:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"http://trac.osgeo.org/mapserver/attachment/ticket/2256/ms-bug-2256-4.8.patch"},{"name":"29688","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/29688"},{"tags":["x_refsource_CONFIRM"],"url":"http://mapserver.gis.umn.edu/download/current/HISTORY.TXT/"},{"tags":["x_refsource_CONFIRM"],"url":"http://trac.osgeo.org/mapserver/ticket/2256"},{"name":"26561","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/26561"},{"name":"26718","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/26718"},{"name":"FEDORA-2007-2018","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00096.html"},{"name":"ADV-2007-2974","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2007/2974"},{"tags":["x_refsource_MISC"],"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439346"},{"name":"25582","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/25582"},{"name":"DSA-1539","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2008/dsa-1539"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-4542","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Multiple cross-site scripting (XSS) vulnerabilities in MapServer before 4.10.3 allow remote attackers to inject arbitrary web script or HTML via unspecified vectors involving the (1) processLine function in maptemplate.c and the (2) writeError function in mapserv.c in the mapserv CGI program."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://trac.osgeo.org/mapserver/attachment/ticket/2256/ms-bug-2256-4.8.patch","refsource":"MISC","url":"http://trac.osgeo.org/mapserver/attachment/ticket/2256/ms-bug-2256-4.8.patch"},{"name":"29688","refsource":"SECUNIA","url":"http://secunia.com/advisories/29688"},{"name":"http://mapserver.gis.umn.edu/download/current/HISTORY.TXT/","refsource":"CONFIRM","url":"http://mapserver.gis.umn.edu/download/current/HISTORY.TXT/"},{"name":"http://trac.osgeo.org/mapserver/ticket/2256","refsource":"CONFIRM","url":"http://trac.osgeo.org/mapserver/ticket/2256"},{"name":"26561","refsource":"SECUNIA","url":"http://secunia.com/advisories/26561"},{"name":"26718","refsource":"SECUNIA","url":"http://secunia.com/advisories/26718"},{"name":"FEDORA-2007-2018","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00096.html"},{"name":"ADV-2007-2974","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2007/2974"},{"name":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439346","refsource":"MISC","url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439346"},{"name":"25582","refsource":"BID","url":"http://www.securityfocus.com/bid/25582"},{"name":"DSA-1539","refsource":"DEBIAN","url":"http://www.debian.org/security/2008/dsa-1539"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2007-4542","datePublished":"2007-08-27T21:00:00.000Z","dateReserved":"2007-08-27T00:00:00.000Z","dateUpdated":"2024-08-07T15:01:09.799Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2007-08-27 21:17:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-79","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:university_of_minnesota:mapserver:*:*:*:*:*:*:*:*","versionEndIncluding":"4.10.3","matchCriteriaId":"768F28E2-0937-4718-8128-EA1F055C4BCF"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2007","CveId":"4542","Ordinal":"1","Title":"CVE-2007-4542","CVE":"CVE-2007-4542","Year":"2007"},"notes":[{"CveYear":"2007","CveId":"4542","Ordinal":"1","NoteData":"Multiple cross-site scripting (XSS) vulnerabilities in MapServer before 4.10.3 allow remote attackers to inject arbitrary web script or HTML via unspecified vectors involving the (1) processLine function in maptemplate.c and the (2) writeError function in mapserv.c in the mapserv CGI program.","Type":"Description","Title":"CVE-2007-4542"},{"CveYear":"2007","CveId":"4542","Ordinal":"2","NoteData":"2007-08-27","Type":"Other","Title":"Published"},{"CveYear":"2007","CveId":"4542","Ordinal":"3","NoteData":"2008-04-17","Type":"Other","Title":"Modified"}]}}}