Search
Find a vulnerability
Search criteria
10 vulnerabilities found for crass by rgrove
CVE-2026-61848 (GCVE-0-2026-61848)
Vulnerability from nvd – Published: 2026-10-30 18:45 – Updated: 2026-10-30 18:45
VLAI
EPSS
VEX
Title
Crass: Non-ASCII characters cause superlinear CPU consumption
Summary
Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, when Crass parses input containing `non-ASCII characters`, inefficiencies in tracking the positions of `multi-byte characters` result in superlinear parsing time. An attacker-controlled CSS input consisting of many `non-ASCII characters` can therefore cause excessive CPU consumption and potentially denial of service. This issue is fixed in version 1.0.7.
Severity
CWE
- CWE-400 - Uncontrolled Resource Consumption
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/rgrove/crass/security/advisori… | x_refsource_CONFIRM |
| https://github.com/rgrove/crass/releases/tag/v1.0.7 | x_refsource_MISC |
| http://github.com/rgrove/crass/commit/da29664648b… | x_refsource_MISC |
{
"containers": {
"cna": {
"affected": [
{
"product": "crass",
"vendor": "rgrove",
"versions": [
{
"status": "affected",
"version": "\u003c 1.0.7"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Crass is a Ruby CSS parser that\u0027s fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, when Crass parses input containing `non-ASCII characters`, inefficiencies in tracking the positions of `multi-byte characters` result in superlinear parsing time. An attacker-controlled CSS input consisting of many `non-ASCII characters` can therefore cause excessive CPU consumption and potentially denial of service. This issue is fixed in version 1.0.7."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "LOW",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L",
"version": "4.0",
"vulnAvailabilityImpact": "LOW",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-400",
"description": "CWE-400: Uncontrolled Resource Consumption",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-30T18:45:20.036Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/rgrove/crass/security/advisories/GHSA-8vfg-2r28-hvhj",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/rgrove/crass/security/advisories/GHSA-8vfg-2r28-hvhj"
},
{
"name": "https://github.com/rgrove/crass/releases/tag/v1.0.7",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/releases/tag/v1.0.7"
},
{
"name": "http://github.com/rgrove/crass/commit/da29664648bf80a97a6439e030a4814291c9afa5",
"tags": [
"x_refsource_MISC"
],
"url": "http://github.com/rgrove/crass/commit/da29664648bf80a97a6439e030a4814291c9afa5"
}
],
"source": {
"advisory": "GHSA-8vfg-2r28-hvhj",
"discovery": "UNKNOWN"
},
"title": "Crass: Non-ASCII characters cause superlinear CPU consumption"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-61848",
"datePublished": "2026-10-30T18:45:20.036Z",
"dateReserved": "2026-07-10T20:28:17.513Z",
"dateUpdated": "2026-10-30T18:45:20.036Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-61847 (GCVE-0-2026-61847)
Vulnerability from nvd – Published: 2026-10-30 18:44 – Updated: 2026-10-30 22:15
VLAI
EPSS
VEX
Title
Crass: A large number of adjacent CSS comments can trigger a SystemStackError
Summary
Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, when the `:preserve_comments` option is not enabled, which is the default, Crass discards CSS comments by recursively consuming the next token. An attacker-provided stylesheet containing a very large number of adjacent comments can cause excessive recursion and trigger a `SystemStackError`, denying service to the parsing application. Preserving comments avoids this recursive path. This issue is fixed in version 1.0.7.
Severity
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-30 21:18 UTC
CWE
- CWE-674 - Uncontrolled Recursion
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/rgrove/crass/security/advisori… | x_refsource_CONFIRM |
| https://github.com/rgrove/crass/commit/25d78cc607… | x_refsource_MISC |
| https://github.com/rgrove/crass/releases/tag/v1.0.7 | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-61847",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-30T21:18:11.231526Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-30T22:15:42.844Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "crass",
"vendor": "rgrove",
"versions": [
{
"status": "affected",
"version": "\u003c 1.0.7"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Crass is a Ruby CSS parser that\u0027s fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, when the `:preserve_comments` option is not enabled, which is the default, Crass discards CSS comments by recursively consuming the next token. An attacker-provided stylesheet containing a very large number of adjacent comments can cause excessive recursion and trigger a `SystemStackError`, denying service to the parsing application. Preserving comments avoids this recursive path. This issue is fixed in version 1.0.7."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "LOW",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L",
"version": "4.0",
"vulnAvailabilityImpact": "LOW",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-674",
"description": "CWE-674: Uncontrolled Recursion",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-30T18:44:22.330Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/rgrove/crass/security/advisories/GHSA-wwpr-jff3-395c",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/rgrove/crass/security/advisories/GHSA-wwpr-jff3-395c"
},
{
"name": "https://github.com/rgrove/crass/commit/25d78cc607c54262e9d43ea1930f3ba5bb03dfb5",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/commit/25d78cc607c54262e9d43ea1930f3ba5bb03dfb5"
},
{
"name": "https://github.com/rgrove/crass/releases/tag/v1.0.7",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/releases/tag/v1.0.7"
}
],
"source": {
"advisory": "GHSA-wwpr-jff3-395c",
"discovery": "UNKNOWN"
},
"title": "Crass: A large number of adjacent CSS comments can trigger a SystemStackError"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-61847",
"datePublished": "2026-10-30T18:44:22.330Z",
"dateReserved": "2026-07-10T20:28:17.513Z",
"dateUpdated": "2026-10-30T22:15:42.844Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-61846 (GCVE-0-2026-61846)
Vulnerability from nvd – Published: 2026-10-30 18:43 – Updated: 2026-10-30 18:43
VLAI
EPSS
VEX
Title
Crass: Deeply nested CSS blocks and functions can trigger a SystemStackError or excessive memory usage
Summary
Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, Crass recursively parses `CSS simple blocks and functions` without a depth guard. An attacker-controlled CSS value containing deeply nested blocks or functions can recurse until Ruby raises `SystemStackError`: stack level too deep, or cause excessive memory usage. Version 1.0.7 adds a configurable depth limit with a conservative default. This issue is fixed in version 1.0.7.
Severity
CWE
- CWE-674 - Uncontrolled Recursion
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/rgrove/crass/security/advisori… | x_refsource_CONFIRM |
| https://github.com/rgrove/crass/commit/cf68287356… | x_refsource_MISC |
| https://github.com/rgrove/crass/releases/tag/v1.0.7 | x_refsource_MISC |
{
"containers": {
"cna": {
"affected": [
{
"product": "crass",
"vendor": "rgrove",
"versions": [
{
"status": "affected",
"version": "\u003c 1.0.7"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Crass is a Ruby CSS parser that\u0027s fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, Crass recursively parses `CSS simple blocks and functions` without a depth guard. An attacker-controlled CSS value containing deeply nested blocks or functions can recurse until Ruby raises `SystemStackError`: stack level too deep, or cause excessive memory usage. Version 1.0.7 adds a configurable depth limit with a conservative default. This issue is fixed in version 1.0.7."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "LOW",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L",
"version": "4.0",
"vulnAvailabilityImpact": "LOW",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-674",
"description": "CWE-674: Uncontrolled Recursion",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-30T18:43:25.373Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/rgrove/crass/security/advisories/GHSA-6jxj-px6v-747w",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/rgrove/crass/security/advisories/GHSA-6jxj-px6v-747w"
},
{
"name": "https://github.com/rgrove/crass/commit/cf68287356ec6e20d51cfc4a2d0c3912b7334e99",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/commit/cf68287356ec6e20d51cfc4a2d0c3912b7334e99"
},
{
"name": "https://github.com/rgrove/crass/releases/tag/v1.0.7",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/releases/tag/v1.0.7"
}
],
"source": {
"advisory": "GHSA-6jxj-px6v-747w",
"discovery": "UNKNOWN"
},
"title": "Crass: Deeply nested CSS blocks and functions can trigger a SystemStackError or excessive memory usage"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-61846",
"datePublished": "2026-10-30T18:43:25.373Z",
"dateReserved": "2026-07-10T20:28:17.513Z",
"dateUpdated": "2026-10-30T18:43:25.373Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-61845 (GCVE-0-2026-61845)
Vulnerability from nvd – Published: 2026-10-30 18:41 – Updated: 2026-10-30 19:41
VLAI
EPSS
VEX
Title
Crass: Large numeric exponents cause CPU and memory denial of service
Summary
Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, Crass converts `CSS scientific notation` number values with unbounded exponentiation before clamping the result to `Float::MAX`. Applications that use Crass to parse attacker-controlled CSS strings can be forced to spend disproportionate CPU and memory parsing a tiny input, potentially resulting in a crash. This issue is fixed in version 1.0.7.
Severity
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-30 19:40 UTC
CWE
- CWE-789 - Memory Allocation with Excessive Size Value
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/rgrove/crass/security/advisori… | x_refsource_CONFIRM |
| https://github.com/rgrove/crass/commit/ea6726b7f7… | x_refsource_MISC |
| https://github.com/rgrove/crass/releases/tag/v1.0.7 | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-61845",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-30T19:40:36.690821Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-30T19:41:24.227Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "crass",
"vendor": "rgrove",
"versions": [
{
"status": "affected",
"version": "\u003c 1.0.7"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Crass is a Ruby CSS parser that\u0027s fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, Crass converts `CSS scientific notation` number values with unbounded exponentiation before clamping the result to `Float::MAX`. Applications that use Crass to parse attacker-controlled CSS strings can be forced to spend disproportionate CPU and memory parsing a tiny input, potentially resulting in a crash. This issue is fixed in version 1.0.7."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 8.9,
"baseSeverity": "HIGH",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "HIGH",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-789",
"description": "CWE-789: Memory Allocation with Excessive Size Value",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-30T18:41:58.369Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/rgrove/crass/security/advisories/GHSA-6wmf-3r64-vcwv",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/rgrove/crass/security/advisories/GHSA-6wmf-3r64-vcwv"
},
{
"name": "https://github.com/rgrove/crass/commit/ea6726b7f7cf7e85b23aa2240b8512b4f8d11ad9",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/commit/ea6726b7f7cf7e85b23aa2240b8512b4f8d11ad9"
},
{
"name": "https://github.com/rgrove/crass/releases/tag/v1.0.7",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/releases/tag/v1.0.7"
}
],
"source": {
"advisory": "GHSA-6wmf-3r64-vcwv",
"discovery": "UNKNOWN"
},
"title": "Crass: Large numeric exponents cause CPU and memory denial of service"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-61845",
"datePublished": "2026-10-30T18:41:58.369Z",
"dateReserved": "2026-07-10T20:28:17.513Z",
"dateUpdated": "2026-10-30T19:41:24.227Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-116695 (GCVE-0-2026-116695)
Vulnerability from nvd – Published: 2026-10-27 20:10 – Updated: 2026-10-27 20:10
VLAI
EPSS
VEX
Title
Crass: Incorrect tokenization of bad URLs enables CSS sanitizer bypass
Summary
Crass is a Ruby CSS parser that is compliant with the CSS Syntax Level 3 specification. Prior to 1.0.8, Crass incorrectly treats a closing parenthesis after an escaped backslash as escaped while consuming the remnants of a bad URL. Crass therefore keeps declarations, style rules, or at-rules inside a bad URL token even though a browser treats them as live CSS. A sanitizer that parses untrusted CSS with Crass and reserializes it without rejecting the bad URL can allow CSS used for UI redress, external resource loading, or CSS-based data exfiltration, but this issue does not enable script execution in modern browsers. This issue is fixed in version 1.0.8.
Severity
CWE
- CWE-436 - Interpretation Conflict
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/rgrove/crass/security/advisori… | x_refsource_CONFIRM |
| https://github.com/rgrove/crass/commit/689fc45c63… | x_refsource_MISC |
| https://github.com/rgrove/crass/releases/tag/v1.0.8 | x_refsource_MISC |
{
"containers": {
"cna": {
"affected": [
{
"product": "crass",
"vendor": "rgrove",
"versions": [
{
"status": "affected",
"version": "\u003c 1.0.8"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Crass is a Ruby CSS parser that is compliant with the CSS Syntax Level 3 specification. Prior to 1.0.8, Crass incorrectly treats a closing parenthesis after an escaped backslash as escaped while consuming the remnants of a bad URL. Crass therefore keeps declarations, style rules, or at-rules inside a bad URL token even though a browser treats them as live CSS. A sanitizer that parses untrusted CSS with Crass and reserializes it without rejecting the bad URL can allow CSS used for UI redress, external resource loading, or CSS-based data exfiltration, but this issue does not enable script execution in modern browsers. This issue is fixed in version 1.0.8."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "LOW",
"subIntegrityImpact": "LOW",
"userInteraction": "PASSIVE",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-436",
"description": "CWE-436: Interpretation Conflict",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-27T20:10:34.010Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/rgrove/crass/security/advisories/GHSA-pq4g-8rxf-4g29",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/rgrove/crass/security/advisories/GHSA-pq4g-8rxf-4g29"
},
{
"name": "https://github.com/rgrove/crass/commit/689fc45c632fdf3803b2f4e844ffc9cca3b08f34",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/commit/689fc45c632fdf3803b2f4e844ffc9cca3b08f34"
},
{
"name": "https://github.com/rgrove/crass/releases/tag/v1.0.8",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/releases/tag/v1.0.8"
}
],
"source": {
"advisory": "GHSA-pq4g-8rxf-4g29",
"discovery": "UNKNOWN"
},
"title": "Crass: Incorrect tokenization of bad URLs enables CSS sanitizer bypass"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-116695",
"datePublished": "2026-10-27T20:10:34.010Z",
"dateReserved": "2026-10-26T20:00:59.831Z",
"dateUpdated": "2026-10-27T20:10:34.010Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-61848 (GCVE-0-2026-61848)
Vulnerability from cvelistv5 – Published: 2026-10-30 18:45 – Updated: 2026-10-30 18:45
VLAI
EPSS
VEX
Title
Crass: Non-ASCII characters cause superlinear CPU consumption
Summary
Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, when Crass parses input containing `non-ASCII characters`, inefficiencies in tracking the positions of `multi-byte characters` result in superlinear parsing time. An attacker-controlled CSS input consisting of many `non-ASCII characters` can therefore cause excessive CPU consumption and potentially denial of service. This issue is fixed in version 1.0.7.
Severity
CWE
- CWE-400 - Uncontrolled Resource Consumption
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/rgrove/crass/security/advisori… | x_refsource_CONFIRM |
| https://github.com/rgrove/crass/releases/tag/v1.0.7 | x_refsource_MISC |
| http://github.com/rgrove/crass/commit/da29664648b… | x_refsource_MISC |
{
"containers": {
"cna": {
"affected": [
{
"product": "crass",
"vendor": "rgrove",
"versions": [
{
"status": "affected",
"version": "\u003c 1.0.7"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Crass is a Ruby CSS parser that\u0027s fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, when Crass parses input containing `non-ASCII characters`, inefficiencies in tracking the positions of `multi-byte characters` result in superlinear parsing time. An attacker-controlled CSS input consisting of many `non-ASCII characters` can therefore cause excessive CPU consumption and potentially denial of service. This issue is fixed in version 1.0.7."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "LOW",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L",
"version": "4.0",
"vulnAvailabilityImpact": "LOW",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-400",
"description": "CWE-400: Uncontrolled Resource Consumption",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-30T18:45:20.036Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/rgrove/crass/security/advisories/GHSA-8vfg-2r28-hvhj",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/rgrove/crass/security/advisories/GHSA-8vfg-2r28-hvhj"
},
{
"name": "https://github.com/rgrove/crass/releases/tag/v1.0.7",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/releases/tag/v1.0.7"
},
{
"name": "http://github.com/rgrove/crass/commit/da29664648bf80a97a6439e030a4814291c9afa5",
"tags": [
"x_refsource_MISC"
],
"url": "http://github.com/rgrove/crass/commit/da29664648bf80a97a6439e030a4814291c9afa5"
}
],
"source": {
"advisory": "GHSA-8vfg-2r28-hvhj",
"discovery": "UNKNOWN"
},
"title": "Crass: Non-ASCII characters cause superlinear CPU consumption"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-61848",
"datePublished": "2026-10-30T18:45:20.036Z",
"dateReserved": "2026-07-10T20:28:17.513Z",
"dateUpdated": "2026-10-30T18:45:20.036Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-61847 (GCVE-0-2026-61847)
Vulnerability from cvelistv5 – Published: 2026-10-30 18:44 – Updated: 2026-10-30 22:15
VLAI
EPSS
VEX
Title
Crass: A large number of adjacent CSS comments can trigger a SystemStackError
Summary
Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, when the `:preserve_comments` option is not enabled, which is the default, Crass discards CSS comments by recursively consuming the next token. An attacker-provided stylesheet containing a very large number of adjacent comments can cause excessive recursion and trigger a `SystemStackError`, denying service to the parsing application. Preserving comments avoids this recursive path. This issue is fixed in version 1.0.7.
Severity
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-30 21:18 UTC
CWE
- CWE-674 - Uncontrolled Recursion
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/rgrove/crass/security/advisori… | x_refsource_CONFIRM |
| https://github.com/rgrove/crass/commit/25d78cc607… | x_refsource_MISC |
| https://github.com/rgrove/crass/releases/tag/v1.0.7 | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-61847",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-30T21:18:11.231526Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-30T22:15:42.844Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "crass",
"vendor": "rgrove",
"versions": [
{
"status": "affected",
"version": "\u003c 1.0.7"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Crass is a Ruby CSS parser that\u0027s fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, when the `:preserve_comments` option is not enabled, which is the default, Crass discards CSS comments by recursively consuming the next token. An attacker-provided stylesheet containing a very large number of adjacent comments can cause excessive recursion and trigger a `SystemStackError`, denying service to the parsing application. Preserving comments avoids this recursive path. This issue is fixed in version 1.0.7."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "LOW",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L",
"version": "4.0",
"vulnAvailabilityImpact": "LOW",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-674",
"description": "CWE-674: Uncontrolled Recursion",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-30T18:44:22.330Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/rgrove/crass/security/advisories/GHSA-wwpr-jff3-395c",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/rgrove/crass/security/advisories/GHSA-wwpr-jff3-395c"
},
{
"name": "https://github.com/rgrove/crass/commit/25d78cc607c54262e9d43ea1930f3ba5bb03dfb5",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/commit/25d78cc607c54262e9d43ea1930f3ba5bb03dfb5"
},
{
"name": "https://github.com/rgrove/crass/releases/tag/v1.0.7",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/releases/tag/v1.0.7"
}
],
"source": {
"advisory": "GHSA-wwpr-jff3-395c",
"discovery": "UNKNOWN"
},
"title": "Crass: A large number of adjacent CSS comments can trigger a SystemStackError"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-61847",
"datePublished": "2026-10-30T18:44:22.330Z",
"dateReserved": "2026-07-10T20:28:17.513Z",
"dateUpdated": "2026-10-30T22:15:42.844Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-61846 (GCVE-0-2026-61846)
Vulnerability from cvelistv5 – Published: 2026-10-30 18:43 – Updated: 2026-10-30 18:43
VLAI
EPSS
VEX
Title
Crass: Deeply nested CSS blocks and functions can trigger a SystemStackError or excessive memory usage
Summary
Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, Crass recursively parses `CSS simple blocks and functions` without a depth guard. An attacker-controlled CSS value containing deeply nested blocks or functions can recurse until Ruby raises `SystemStackError`: stack level too deep, or cause excessive memory usage. Version 1.0.7 adds a configurable depth limit with a conservative default. This issue is fixed in version 1.0.7.
Severity
CWE
- CWE-674 - Uncontrolled Recursion
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/rgrove/crass/security/advisori… | x_refsource_CONFIRM |
| https://github.com/rgrove/crass/commit/cf68287356… | x_refsource_MISC |
| https://github.com/rgrove/crass/releases/tag/v1.0.7 | x_refsource_MISC |
{
"containers": {
"cna": {
"affected": [
{
"product": "crass",
"vendor": "rgrove",
"versions": [
{
"status": "affected",
"version": "\u003c 1.0.7"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Crass is a Ruby CSS parser that\u0027s fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, Crass recursively parses `CSS simple blocks and functions` without a depth guard. An attacker-controlled CSS value containing deeply nested blocks or functions can recurse until Ruby raises `SystemStackError`: stack level too deep, or cause excessive memory usage. Version 1.0.7 adds a configurable depth limit with a conservative default. This issue is fixed in version 1.0.7."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "LOW",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L",
"version": "4.0",
"vulnAvailabilityImpact": "LOW",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-674",
"description": "CWE-674: Uncontrolled Recursion",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-30T18:43:25.373Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/rgrove/crass/security/advisories/GHSA-6jxj-px6v-747w",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/rgrove/crass/security/advisories/GHSA-6jxj-px6v-747w"
},
{
"name": "https://github.com/rgrove/crass/commit/cf68287356ec6e20d51cfc4a2d0c3912b7334e99",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/commit/cf68287356ec6e20d51cfc4a2d0c3912b7334e99"
},
{
"name": "https://github.com/rgrove/crass/releases/tag/v1.0.7",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/releases/tag/v1.0.7"
}
],
"source": {
"advisory": "GHSA-6jxj-px6v-747w",
"discovery": "UNKNOWN"
},
"title": "Crass: Deeply nested CSS blocks and functions can trigger a SystemStackError or excessive memory usage"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-61846",
"datePublished": "2026-10-30T18:43:25.373Z",
"dateReserved": "2026-07-10T20:28:17.513Z",
"dateUpdated": "2026-10-30T18:43:25.373Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-61845 (GCVE-0-2026-61845)
Vulnerability from cvelistv5 – Published: 2026-10-30 18:41 – Updated: 2026-10-30 19:41
VLAI
EPSS
VEX
Title
Crass: Large numeric exponents cause CPU and memory denial of service
Summary
Crass is a Ruby CSS parser that's fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, Crass converts `CSS scientific notation` number values with unbounded exponentiation before clamping the result to `Float::MAX`. Applications that use Crass to parse attacker-controlled CSS strings can be forced to spend disproportionate CPU and memory parsing a tiny input, potentially resulting in a crash. This issue is fixed in version 1.0.7.
Severity
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-30 19:40 UTC
CWE
- CWE-789 - Memory Allocation with Excessive Size Value
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/rgrove/crass/security/advisori… | x_refsource_CONFIRM |
| https://github.com/rgrove/crass/commit/ea6726b7f7… | x_refsource_MISC |
| https://github.com/rgrove/crass/releases/tag/v1.0.7 | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-61845",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-30T19:40:36.690821Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-30T19:41:24.227Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "crass",
"vendor": "rgrove",
"versions": [
{
"status": "affected",
"version": "\u003c 1.0.7"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Crass is a Ruby CSS parser that\u0027s fully compliant with the CSS Syntax Level 3 specification. Prior to 1.0.7, Crass converts `CSS scientific notation` number values with unbounded exponentiation before clamping the result to `Float::MAX`. Applications that use Crass to parse attacker-controlled CSS strings can be forced to spend disproportionate CPU and memory parsing a tiny input, potentially resulting in a crash. This issue is fixed in version 1.0.7."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 8.9,
"baseSeverity": "HIGH",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "HIGH",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-789",
"description": "CWE-789: Memory Allocation with Excessive Size Value",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-30T18:41:58.369Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/rgrove/crass/security/advisories/GHSA-6wmf-3r64-vcwv",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/rgrove/crass/security/advisories/GHSA-6wmf-3r64-vcwv"
},
{
"name": "https://github.com/rgrove/crass/commit/ea6726b7f7cf7e85b23aa2240b8512b4f8d11ad9",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/commit/ea6726b7f7cf7e85b23aa2240b8512b4f8d11ad9"
},
{
"name": "https://github.com/rgrove/crass/releases/tag/v1.0.7",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/releases/tag/v1.0.7"
}
],
"source": {
"advisory": "GHSA-6wmf-3r64-vcwv",
"discovery": "UNKNOWN"
},
"title": "Crass: Large numeric exponents cause CPU and memory denial of service"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-61845",
"datePublished": "2026-10-30T18:41:58.369Z",
"dateReserved": "2026-07-10T20:28:17.513Z",
"dateUpdated": "2026-10-30T19:41:24.227Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-116695 (GCVE-0-2026-116695)
Vulnerability from cvelistv5 – Published: 2026-10-27 20:10 – Updated: 2026-10-27 20:10
VLAI
EPSS
VEX
Title
Crass: Incorrect tokenization of bad URLs enables CSS sanitizer bypass
Summary
Crass is a Ruby CSS parser that is compliant with the CSS Syntax Level 3 specification. Prior to 1.0.8, Crass incorrectly treats a closing parenthesis after an escaped backslash as escaped while consuming the remnants of a bad URL. Crass therefore keeps declarations, style rules, or at-rules inside a bad URL token even though a browser treats them as live CSS. A sanitizer that parses untrusted CSS with Crass and reserializes it without rejecting the bad URL can allow CSS used for UI redress, external resource loading, or CSS-based data exfiltration, but this issue does not enable script execution in modern browsers. This issue is fixed in version 1.0.8.
Severity
CWE
- CWE-436 - Interpretation Conflict
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/rgrove/crass/security/advisori… | x_refsource_CONFIRM |
| https://github.com/rgrove/crass/commit/689fc45c63… | x_refsource_MISC |
| https://github.com/rgrove/crass/releases/tag/v1.0.8 | x_refsource_MISC |
{
"containers": {
"cna": {
"affected": [
{
"product": "crass",
"vendor": "rgrove",
"versions": [
{
"status": "affected",
"version": "\u003c 1.0.8"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Crass is a Ruby CSS parser that is compliant with the CSS Syntax Level 3 specification. Prior to 1.0.8, Crass incorrectly treats a closing parenthesis after an escaped backslash as escaped while consuming the remnants of a bad URL. Crass therefore keeps declarations, style rules, or at-rules inside a bad URL token even though a browser treats them as live CSS. A sanitizer that parses untrusted CSS with Crass and reserializes it without rejecting the bad URL can allow CSS used for UI redress, external resource loading, or CSS-based data exfiltration, but this issue does not enable script execution in modern browsers. This issue is fixed in version 1.0.8."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "LOW",
"subIntegrityImpact": "LOW",
"userInteraction": "PASSIVE",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-436",
"description": "CWE-436: Interpretation Conflict",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-27T20:10:34.010Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/rgrove/crass/security/advisories/GHSA-pq4g-8rxf-4g29",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/rgrove/crass/security/advisories/GHSA-pq4g-8rxf-4g29"
},
{
"name": "https://github.com/rgrove/crass/commit/689fc45c632fdf3803b2f4e844ffc9cca3b08f34",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/commit/689fc45c632fdf3803b2f4e844ffc9cca3b08f34"
},
{
"name": "https://github.com/rgrove/crass/releases/tag/v1.0.8",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rgrove/crass/releases/tag/v1.0.8"
}
],
"source": {
"advisory": "GHSA-pq4g-8rxf-4g29",
"discovery": "UNKNOWN"
},
"title": "Crass: Incorrect tokenization of bad URLs enables CSS sanitizer bypass"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-116695",
"datePublished": "2026-10-27T20:10:34.010Z",
"dateReserved": "2026-10-26T20:00:59.831Z",
"dateUpdated": "2026-10-27T20:10:34.010Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}