Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2013-0340

expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler…

Medium6.8EPSS 19.4%
Published
Updated
Reserved
Assigned by
redhat

Description

expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue. NOTE: it could be argued that because expat already provides the ability to disable external entity expansion, the responsibility for resolving this issue lies with application developers; according to this argument, this entry should be REJECTed, and each affected application would need its own CVE.

Scores

CVSS scores of CVE-2013-0340, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified2.0Medium6.8AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS (exploitation in 30 days)
19.4% · top 2.6% of all CVEs (5 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: yes · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.

Weakness

Affected products

  • libexpat

    • affected < 2.4.0

References (26)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2013-0340 badge
[![CVE-2013-0340](https://trackcve.app/badge/CVE-2013-0340.svg)](https://trackcve.app/cve/CVE-2013-0340)

Record last updated .