CVE-2026-71497 (GCVE-0-2026-71497)
Vulnerability from cvelistv5 – Published: 2026-08-06 21:09 – Updated: 2026-08-07 14:37
VLAI
EPSS
VEX
Title
jsoup: Cleaner may expose markup with custom raw-text elements
Summary
jsoup is a Java library for working with real-world HTML. From 1.14.3 until 1.23.1, jsoup's HTML parser could incorrectly handle a malformed tag name ending in a control character, causing the tag to acquire the parsing behavior of a different element. When a custom Safelist permits certain raw-text elements, this misparsing can cause content that should remain inert text to be emitted as active markup after serialization, potentially resulting in cross-site scripting. jsoup's built-in Safelists are not affected. This issue is fixed in version 1.23.1.
Severity
4.7 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator (v2.0.3)
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/jhy/jsoup/security/advisories/… | x_refsource_CONFIRM |
| https://github.com/jhy/jsoup/issues/2538 | x_refsource_MISC |
| https://github.com/jhy/jsoup/commit/92f1aca552548… | x_refsource_MISC |
| https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1 | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-71497",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-07T14:37:48.066416Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-08-07T14:37:56.848Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "jsoup",
"vendor": "jhy",
"versions": [
{
"status": "affected",
"version": "\u003e= 1.14.3, \u003c 1.23.1"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "jsoup is a Java library for working with real-world HTML. From 1.14.3 until 1.23.1, jsoup\u0027s HTML parser could incorrectly handle a malformed tag name ending in a control character, causing the tag to acquire the parsing behavior of a different element. When a custom Safelist permits certain raw-text elements, this misparsing can cause content that should remain inert text to be emitted as active markup after serialization, potentially resulting in cross-site scripting. jsoup\u0027s built-in Safelists are not affected. This issue is fixed in version 1.23.1."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 4.7,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-06T21:09:31.489Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8"
},
{
"name": "https://github.com/jhy/jsoup/issues/2538",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/jhy/jsoup/issues/2538"
},
{
"name": "https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70"
},
{
"name": "https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1"
}
],
"source": {
"advisory": "GHSA-pmhh-3w7g-xqp8",
"discovery": "UNKNOWN"
},
"title": "jsoup: Cleaner may expose markup with custom raw-text elements"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-71497",
"datePublished": "2026-08-06T21:09:31.489Z",
"dateReserved": "2026-08-06T19:56:23.726Z",
"dateUpdated": "2026-08-07T14:37:56.848Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-71497",
"date": "2026-08-07",
"epss": "0.0019",
"percentile": "0.08883"
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-08-07T09:19:53+00:00",
"cve": "CVE-2026-71497",
"id": "CVE-2026-71497",
"initial_release_date": "2026-08-06T21:09:31.489000+00:00",
"product_status:known_affected": "97",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "org.jsoup/jsoup: jsoup: Cross-site scripting via malformed HTML tag names",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-71497.json",
"version": "3"
},
"vulnrichment": {
"containers": "{\"cna\": {\"title\": \"jsoup: Cleaner may expose markup with custom raw-text elements\", \"source\": {\"advisory\": \"GHSA-pmhh-3w7g-xqp8\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"CHANGED\", \"version\": \"3.1\", \"baseScore\": 4.7, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N\", \"integrityImpact\": \"LOW\", \"userInteraction\": \"REQUIRED\", \"attackComplexity\": \"HIGH\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"LOW\"}}], \"affected\": [{\"vendor\": \"jhy\", \"product\": \"jsoup\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003e= 1.14.3, \u003c 1.23.1\"}]}], \"references\": [{\"url\": \"https://github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8\", \"name\": \"https://github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/jhy/jsoup/issues/2538\", \"name\": \"https://github.com/jhy/jsoup/issues/2538\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70\", \"name\": \"https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1\", \"name\": \"https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"jsoup is a Java library for working with real-world HTML. From 1.14.3 until 1.23.1, jsoup\u0027s HTML parser could incorrectly handle a malformed tag name ending in a control character, causing the tag to acquire the parsing behavior of a different element. When a custom Safelist permits certain raw-text elements, this misparsing can cause content that should remain inert text to be emitted as active markup after serialization, potentially resulting in cross-site scripting. jsoup\u0027s built-in Safelists are not affected. This issue is fixed in version 1.23.1.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-79\", \"description\": \"CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2026-08-06T21:09:31.489Z\"}}, \"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-71497\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-08-07T14:37:48.066416Z\"}}}], \"providerMetadata\": {\"shortName\": \"CISA-ADP\", \"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"dateUpdated\": \"2026-08-07T14:37:53.451Z\"}}]}",
"cveMetadata": "{\"cveId\": \"CVE-2026-71497\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-06T21:09:31.489Z\", \"dateReserved\": \"2026-08-06T19:56:23.726Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2026-08-06T21:09:31.489Z\", \"assignerShortName\": \"GitHub_M\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…